# HG changeset patch # User mpm@selenic.com # Date 1119954165 28800 # Node ID dc1f735dfaaca416615ad565e0e01d061aaf1644 # Parent a350c1cd3fc54e9602fbff38a66f72ba62998752 [PATCH] Fix "no-update" option to clone -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Fix "no-update" option to clone From: Bryan O'Sullivan 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----- diff -r a350c1cd3fc5 -r dc1f735dfaac doc/hg.1.txt --- 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 -t -u -d ] [files...]:: Commit changes to the given files into the repository. diff -r a350c1cd3fc5 -r dc1f735dfaac mercurial/commands.py --- 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 [rev]'), - "clone": (clone, [('U', 'no-update', None, 'skip update after cloning')], + "clone": (clone, [('U', 'noupdate', None, 'skip update after cloning')], 'hg clone [options] [dest]'), "commit|ci": (commit, [('t', 'text', "", 'commit text'),