Patchwork [3,of,3,evolve-ext] tests: test that `hg obslog wdir()` aborts with a useful message

login
register
mail settings
Submitter Anton Shestakov
Date April 27, 2018, 10:26 a.m.
Message ID <f7eb6844f979e476e272.1524824804@neuro>
Download mbox | patch
Permalink /patch/31241/
State Accepted
Headers show

Comments

Anton Shestakov - April 27, 2018, 10:26 a.m.
# HG changeset patch
# User Anton Shestakov <av6@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

Patch

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
 =============================