diff tests/test-evolve-obshistory.t @ 3816:4c68dd62943c mercurial-4.5

test-compat: merge stable into mercurial-4.5
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 08 Jun 2018 22:52:51 +0530
parents fbcf9e92097e f5b9030e18e9
children 5ca297e78f2c
line wrap: on
line diff
--- a/tests/test-evolve-obshistory.t	Wed Apr 25 14:09:34 2018 +0100
+++ b/tests/test-evolve-obshistory.t	Fri Jun 08 22:52:51 2018 +0530
@@ -16,6 +16,23 @@
   > evolution.effect-flags = yes
   > EOF
 
+Test simple common cases
+========================
+
+Test setup
+----------
+  $ hg init $TESTTMP/simple
+  $ cd $TESTTMP/simple
+
+Actual test
+-----------
+  $ hg obslog -ap null
+  @  000000000000 (-1)
+  
+  $ hg obslog 'wdir()'
+  abort: working directory revision cannot be specified
+  [255]
+
 Test output on amended commit
 =============================