##// END OF EJS Templates
[PATCH] Fix "no-update" option to clone...
mpm@selenic.com -
r505:dc1f735d default
parent child Browse files
Show More
@@ -93,7 +93,7 b' clone [-U] <source> [dest]::'
93 source and destination are on the same filesystem.
93 source and destination are on the same filesystem.
94
94
95 options:
95 options:
96 -U, --no-update do not update the new working directory
96 -U, --noupdate do not update the new working directory
97
97
98 commit [-A -t -l <file> -t <text> -u <user> -d <datecode>] [files...]::
98 commit [-A -t -l <file> -t <text> -u <user> -d <datecode>] [files...]::
99 Commit changes to the given files into the repository.
99 Commit changes to the given files into the repository.
@@ -312,7 +312,7 b' def clone(ui, source, dest = None, **opt'
312 f.write("[paths]\n")
312 f.write("[paths]\n")
313 f.write("default = %s\n" % source)
313 f.write("default = %s\n" % source)
314
314
315 if not opts['no-update']:
315 if not opts['noupdate']:
316 update(ui, repo)
316 update(ui, repo)
317
317
318 success = True
318 success = True
@@ -739,7 +739,7 b' table = {'
739 ('c', 'changeset', None, 'show changeset')],
739 ('c', 'changeset', None, 'show changeset')],
740 'hg annotate [-u] [-c] [-n] [-r id] [files]'),
740 'hg annotate [-u] [-c] [-n] [-r id] [files]'),
741 "cat": (cat, [], 'hg cat <file> [rev]'),
741 "cat": (cat, [], 'hg cat <file> [rev]'),
742 "clone": (clone, [('U', 'no-update', None, 'skip update after cloning')],
742 "clone": (clone, [('U', 'noupdate', None, 'skip update after cloning')],
743 'hg clone [options] <source> [dest]'),
743 'hg clone [options] <source> [dest]'),
744 "commit|ci": (commit,
744 "commit|ci": (commit,
745 [('t', 'text', "", 'commit text'),
745 [('t', 'text', "", 'commit text'),
General Comments 0
You need to be logged in to leave comments. Login now