##// END OF EJS Templates
Removed unused parameters/options of update command.
Thomas Arendsen Hein -
r3802:a0d0d24c default
parent child Browse files
Show More
@@ -2249,8 +2249,7 def unbundle(ui, repo, fname, **opts):
2249 modheads = repo.addchangegroup(gen, 'unbundle', 'bundle:' + fname)
2249 modheads = repo.addchangegroup(gen, 'unbundle', 'bundle:' + fname)
2250 return postincoming(ui, repo, modheads, opts['update'])
2250 return postincoming(ui, repo, modheads, opts['update'])
2251
2251
2252 def update(ui, repo, node=None, merge=False, clean=False, force=None,
2252 def update(ui, repo, node=None, clean=False, branch=None):
2253 branch=None):
2254 """update or merge working directory
2253 """update or merge working directory
2255
2254
2256 Update the working directory to the specified revision.
2255 Update the working directory to the specified revision.
@@ -2695,10 +2694,8 table = {
2695 (update,
2694 (update,
2696 [('b', 'branch', '',
2695 [('b', 'branch', '',
2697 _('checkout the head of a specific branch (DEPRECATED)')),
2696 _('checkout the head of a specific branch (DEPRECATED)')),
2698 ('m', 'merge', None, _('allow merging of branches (DEPRECATED)')),
2697 ('C', 'clean', None, _('overwrite locally modified files'))],
2699 ('C', 'clean', None, _('overwrite locally modified files')),
2698 _('hg update [-C] [REV]')),
2700 ('f', 'force', None, _('force a merge with outstanding changes'))],
2701 _('hg update [-C] [-f] [REV]')),
2702 "verify": (verify, [], _('hg verify')),
2699 "verify": (verify, [], _('hg verify')),
2703 "version": (version_, [], _('hg version')),
2700 "version": (version_, [], _('hg version')),
2704 }
2701 }
General Comments 0
You need to be logged in to leave comments. Login now