[PATCH 1 of 5] show: tweak warning message
Gregory Szorc
gregory.szorc at gmail.com
Tue Jul 4 04:32:37 UTC 2017
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1499141448 25200
# Mon Jul 03 21:10:48 2017 -0700
# Node ID 0cacc533e884965d93b426c6805a55097010dcbe
# Parent 45d6e2767a931aefb8052d9aa9ba50343b46290e
show: tweak warning message
'.' is "working directory parent" not "working directory."
diff --git a/hgext/show.py b/hgext/show.py
--- a/hgext/show.py
+++ b/hgext/show.py
@@ -182,7 +182,7 @@ def showstack(ui, repo, displayer):
'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
diff --git a/tests/test-show-stack.t b/tests/test-show-stack.t
--- a/tests/test-show-stack.t
+++ b/tests/test-show-stack.t
@@ -77,7 +77,7 @@ working dir on public changeset should d
$ 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
More information about the Mercurial-devel
mailing list