Removed unused parameters/options of update command.
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 05 Dec 2006 22:46:36 +0100
changeset 3802 a0d0d24c4e71
parent 3801 bd7011246fab
child 3803 2aef481ac73c
Removed unused parameters/options of update command.
mercurial/commands.py
--- a/mercurial/commands.py	Tue Dec 05 13:41:42 2006 -0800
+++ b/mercurial/commands.py	Tue Dec 05 22:46:36 2006 +0100
@@ -2249,8 +2249,7 @@
     modheads = repo.addchangegroup(gen, 'unbundle', 'bundle:' + fname)
     return postincoming(ui, repo, modheads, opts['update'])
 
-def update(ui, repo, node=None, merge=False, clean=False, force=None,
-           branch=None):
+def update(ui, repo, node=None, clean=False, branch=None):
     """update or merge working directory
 
     Update the working directory to the specified revision.
@@ -2695,10 +2694,8 @@
         (update,
          [('b', 'branch', '',
            _('checkout the head of a specific branch (DEPRECATED)')),
-          ('m', 'merge', None, _('allow merging of branches (DEPRECATED)')),
-          ('C', 'clean', None, _('overwrite locally modified files')),
-          ('f', 'force', None, _('force a merge with outstanding changes'))],
-         _('hg update [-C] [-f] [REV]')),
+          ('C', 'clean', None, _('overwrite locally modified files'))],
+         _('hg update [-C] [REV]')),
     "verify": (verify, [], _('hg verify')),
     "version": (version_, [], _('hg version')),
 }