[PATCH stable] commands: fix help string for pull -u and unbundle -u

Greg Ward greg-hg at gerg.ca
Tue Jan 5 14:08:47 CST 2010


# HG changeset patch
# User Greg Ward <greg-hg at gerg.ca>
# Date 1262722058 18000
# Branch stable
# Node ID c0d0176f8ef23bace0bf34923b54bac3de0c7615
# Parent  8b5ca9b9b435380ee3dde45eadb61cefa10a13f2
commands: fix help string for pull -u and unbundle -u.

They update to new branch head, not new tip -- same as 'hg update'.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3577,7 +3577,7 @@
     "^pull":
         (pull,
          [('u', 'update', None,
-           _('update to new tip if changesets were pulled')),
+           _('update to new branch head if changesets were pulled')),
           ('f', 'force', None,
            _('run even when remote repository is unrelated')),
           ('r', 'rev', [],
@@ -3689,7 +3689,7 @@
     "unbundle":
         (unbundle,
          [('u', 'update', None,
-           _('update to new tip if changesets were unbundled'))],
+           _('update to new branch head if changesets were unbundled'))],
          _('[-u] FILE...')),
     "^update|up|checkout|co":
         (update,


More information about the Mercurial-devel mailing list