mercurial/commands.py
branchstable
changeset 16850 9c86ef980d9e
parent 16736 025b3b763ba9
child 16864 92cfde8728ac
child 16869 00e1e40d709c
--- a/mercurial/commands.py	Mon Jun 04 18:03:23 2012 +0200
+++ b/mercurial/commands.py	Mon Jun 04 15:43:16 2012 +0300
@@ -2695,7 +2695,7 @@
                     stats = mergemod.update(repo, ctx.node(), True, True, False,
                                             ctx.p1().node())
                 finally:
-                    ui.setconfig('ui', 'forcemerge', '')
+                    repo.ui.setconfig('ui', 'forcemerge', '')
                 # drop the second merge parent
                 repo.setparents(current.node(), nullid)
                 repo.dirstate.write()