changeset 3730:f5b9030e18e9 stable

tests: test that `hg obslog wdir()` aborts with a useful message
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 27 Apr 2018 16:28:34 +0800
parents 1b1badb3d2fc
children 83dc216b9e9a
files tests/test-evolve-obshistory.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 =============================