tests: test that `hg obslog wdir()` aborts with a useful message stable
authorAnton Shestakov <av6@dwimlabs.net>
Fri, 27 Apr 2018 16:28:34 +0800
branchstable
changeset 3730 f5b9030e18e9
parent 3729 1b1badb3d2fc
child 3731 83dc216b9e9a
tests: test that `hg obslog wdir()` aborts with a useful message
tests/test-evolve-obshistory.t
--- a/tests/test-evolve-obshistory.t	Fri Apr 27 16:19:45 2018 +0800
+++ b/tests/test-evolve-obshistory.t	Fri Apr 27 16:28:34 2018 +0800
@@ -29,6 +29,9 @@
   $ hg obslog -ap null
   @  000000000000 (-1)
   
+  $ hg obslog 'wdir()'
+  abort: working directory revision cannot be specified
+  [255]
 
 Test output on amended commit
 =============================