Comments
Patch
@@ -355,6 +355,9 @@
def dirs(self):
return self._dirs
+ def dirty(self):
+ return False
+
class filectx(object):
"""A filecontext object makes access to data related to a particular
filerevision convenient."""
@@ -7,7 +7,7 @@
from node import nullid, nullrev, hex, bin
from i18n import _
-import error, scmutil, util, filemerge, copies, subrepo
+import error, scmutil, util, filemerge, copies, subrepo, context
import errno, os, shutil
class mergestate(object):
@@ -461,7 +461,8 @@
_checkcollision(mctx, tctx)
if not force:
_checkunknown(repo, tctx, mctx)
- action += _forgetremoved(tctx, mctx, branchmerge)
+ if tctx.rev() is None:
+ action += _forgetremoved(tctx, mctx, branchmerge)
action += manifestmerge(repo, tctx, mctx,
ancestor,
force and not branchmerge,