Mercurial > hg
changeset 505:dc1f735dfaac
[PATCH] Fix "no-update" option to clone
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Fix "no-update" option to clone
From: Bryan O'Sullivan <bos@serpentine.com>
Turn "no-update" (invalid Python identifier) into "noupdate".
manifest hash: 1dfb3212b97531437d5a243813896c090a05d95a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwST1ywK+sNU5EO8RAvGnAJ9/RvohYRxpMTWkK6YCiF6r3U68FACeNRcr
mE/NYJzVbijiLK9TwWm8QgQ=
=w/KV
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Tue, 28 Jun 2005 02:22:45 -0800 |
parents | a350c1cd3fc5 |
children | 1f81ebff98c9 |
files | doc/hg.1.txt mercurial/commands.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/hg.1.txt Tue Jun 28 02:18:23 2005 -0800 +++ b/doc/hg.1.txt Tue Jun 28 02:22:45 2005 -0800 @@ -93,7 +93,7 @@ source and destination are on the same filesystem. options: - -U, --no-update do not update the new working directory + -U, --noupdate do not update the new working directory commit [-A -t -l <file> -t <text> -u <user> -d <datecode>] [files...]:: Commit changes to the given files into the repository.
--- a/mercurial/commands.py Tue Jun 28 02:18:23 2005 -0800 +++ b/mercurial/commands.py Tue Jun 28 02:22:45 2005 -0800 @@ -312,7 +312,7 @@ f.write("[paths]\n") f.write("default = %s\n" % source) - if not opts['no-update']: + if not opts['noupdate']: update(ui, repo) success = True @@ -739,7 +739,7 @@ ('c', 'changeset', None, 'show changeset')], 'hg annotate [-u] [-c] [-n] [-r id] [files]'), "cat": (cat, [], 'hg cat <file> [rev]'), - "clone": (clone, [('U', 'no-update', None, 'skip update after cloning')], + "clone": (clone, [('U', 'noupdate', None, 'skip update after cloning')], 'hg clone [options] <source> [dest]'), "commit|ci": (commit, [('t', 'text', "", 'commit text'),