diff tests/test-evolve-obshistory.t @ 3817:5ca297e78f2c mercurial-4.4

test-compat: merge mercurial-4.5 into mercurial-4.4
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 08 Jun 2018 22:52:52 +0530
parents 19ec729f3ca2 4c68dd62943c
children f8677cb11dcb d00f0c369bc7
line wrap: on
line diff
--- a/tests/test-evolve-obshistory.t	Wed Apr 25 14:09:35 2018 +0100
+++ b/tests/test-evolve-obshistory.t	Fri Jun 08 22:52:52 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
 =============================