# HG changeset patch
# User Anton Shestakov <a...@dwimlabs.net>
# Date 1524817714 -28800
#      Fri Apr 27 16:28:34 2018 +0800
# Node ID f7eb6844f979e476e272672d50718dd589562b83
# Parent  73e62fe390ee02620c30878b333a20fa18d644b1
tests: test that `hg obslog wdir()` aborts with a useful message

diff --git a/tests/test-evolve-obshistory.t b/tests/test-evolve-obshistory.t
--- a/tests/test-evolve-obshistory.t
+++ b/tests/test-evolve-obshistory.t
@@ -29,6 +29,9 @@ Actual test
   $ hg obslog -ap null
   @  000000000000 (-1)
   
+  $ hg obslog 'wdir()'
+  abort: working directory revision cannot be specified
+  [255]
 
 Test output on amended commit
 =============================
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to