Mercurial > hg
changeset 15856:6bed6cc6d0d0
commands: partial backout of fbb68b382040
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Fri, 13 Jan 2012 14:52:47 +0100 |
parents | 09757185ce97 |
children | 58dcb837f193 |
files | mercurial/commands.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Jan 13 11:53:51 2012 +0100 +++ b/mercurial/commands.py Fri Jan 13 14:52:47 2012 +0100 @@ -14,7 +14,7 @@ import archival, changegroup, cmdutil, hbisect import sshserver, hgweb, hgweb.server, commandserver import match as matchmod -import merge +import merge as mergemod import minirst, revset, fileset import dagparser, context, simplemerge import random, setdiscovery, treediscovery, dagutil @@ -2623,8 +2623,8 @@ try: # ui.forcemerge is an internal variable, do not document repo.ui.setconfig('ui', 'forcemerge', opts.get('tool', '')) - stats = merge.update(repo, ctx.node(), True, True, False, - ctx.p1().node()) + stats = mergemod.update(repo, ctx.node(), True, True, False, + ctx.p1().node()) finally: ui.setconfig('ui', 'forcemerge', '') # drop the second merge parent @@ -4655,7 +4655,7 @@ raise util.Abort(_('no files or directories specified; ' 'use --all to remerge all files')) - ms = merge.mergestate(repo) + ms = mergemod.mergestate(repo) m = scmutil.match(repo[None], pats, opts) ret = 0 @@ -5352,7 +5352,7 @@ st.insert(3, renamed) st.insert(4, copied) - ms = merge.mergestate(repo) + ms = mergemod.mergestate(repo) st.append([f for f in ms if ms[f] == 'u']) subs = [s for s in ctx.substate if ctx.sub(s).dirty()]