# HG changeset patch # User Matt Mackall # Date 1154653565 18000 # Node ID 557ea210fd9f750ab2323e0774dbb3148e3273ae # Parent b550cd82f92aa46ead1f210ce336d01254905d45 Remove **opts arg from commands.doupdate diff -r b550cd82f92a -r 557ea210fd9f mercurial/commands.py --- a/mercurial/commands.py Thu Aug 03 15:24:41 2006 -0500 +++ b/mercurial/commands.py Thu Aug 03 20:06:05 2006 -0500 @@ -938,7 +938,7 @@ if op1 != node: if opts['merge']: ui.status(_('merging with changeset %s\n') % nice(op1)) - doupdate(ui, repo, hex(op1), **opts) + doupdate(ui, repo, hex(op1), merge=True) else: ui.status(_('the backout changeset is a new head - ' 'do not forget to merge\n')) @@ -2826,7 +2826,7 @@ repo.rollback() def update(ui, repo, node=None, merge=False, clean=False, force=None, - branch=None, **opts): + branch=None): """update or merge working directory Update the working directory to the specified revision. @@ -2844,10 +2844,10 @@ if merge: ui.warn(_('(the -m/--merge option is deprecated; ' 'use the merge command instead)\n')) - return doupdate(ui, repo, node, merge, clean, force, branch, **opts) + return doupdate(ui, repo, node, merge, clean, force, branch) def doupdate(ui, repo, node=None, merge=False, clean=False, force=None, - branch=None, **opts): + branch=None): if branch: br = repo.branchlookup(branch=branch) found = [] @@ -2857,7 +2857,7 @@ if len(found) > 1: ui.warn(_("Found multiple heads for %s\n") % branch) for x in found: - show_changeset(ui, repo, opts).show(changenode=x, brinfo=br) + show_changeset(ui, repo, {}).show(changenode=x, brinfo=br) return 1 if len(found) == 1: node = found[0]