show: tweak warning message
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 03 Jul 2017 21:10:48 -0700
changeset 33208 9e7efe421395
parent 33207 895ecec31c70
child 33209 9718725dc02a
show: tweak warning message '.' is "working directory parent" not "working directory."
hgext/show.py
tests/test-show-stack.t
--- a/hgext/show.py	Fri Jun 23 13:49:34 2017 +0200
+++ b/hgext/show.py	Mon Jul 03 21:10:48 2017 -0700
@@ -182,7 +182,7 @@
                             'working directory'))
 
     if wdirctx.phase() == phases.public:
-        ui.write(_('(empty stack; working directory is a published '
+        ui.write(_('(empty stack; working directory parent is a published '
                    'changeset)\n'))
         return
 
--- a/tests/test-show-stack.t	Fri Jun 23 13:49:34 2017 +0200
+++ b/tests/test-show-stack.t	Mon Jul 03 21:10:48 2017 -0700
@@ -77,7 +77,7 @@
 
   $ hg -q up 1
   $ hg show stack
-  (empty stack; working directory is a published changeset)
+  (empty stack; working directory parent is a published changeset)
 
 Branch point in descendants displayed at top of graph