[PATCH] hg pull -u -- should it update if nothing is pulled?

Colin McMillen mcmillen at cs.cmu.edu
Fri Sep 29 17:01:02 UTC 2006


This message seems to be the clearest of those that were
discussed. Patch against crew.

Colin

# HG changeset patch
# User Colin McMillen <mcmillen at cs.cmu.edu>
# Date 1159549379 14400
# Node ID 216aa2d93b0c2d515c5b90acc690f97ac642dfc0
# Parent  245bb70d7dfbd48e24e7fa3c143a6a340bdb2deb
Documentation clarification for --update option to pull

diff -r 245bb70d7dfb -r 216aa2d93b0c mercurial/commands.py
--- a/mercurial/commands.py     Thu Sep 28 11:41:33 2006 -0700
+++ b/mercurial/commands.py     Fri Sep 29 13:02:59 2006 -0400
@@ -2910,7 +2910,7 @@ table = {
     "^pull":
         (pull,
          [('u', 'update', None,
-           _('update the working directory to tip after pull')),
+           _('update to new tip if changesets were pulled')),
           ('e', 'ssh', '', _('specify ssh command to use')),
           ('f', 'force', None,
            _('run even when remote repository is unrelated')),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060929/d958488a/attachment-0001.asc>


More information about the Mercurial mailing list