##// END OF EJS Templates
mergestate: rename addpath() -> addpathonflict() to prevent confusion...
Pulkit Goyal -
r45719:e05a488c default
parent child Browse files
Show More
@@ -1264,7 +1264,7 def applyupdates(
1264 else:
1264 else:
1265 s(_(b"the remote file has been renamed to %s\n") % f1)
1265 s(_(b"the remote file has been renamed to %s\n") % f1)
1266 s(_(b"resolve manually then use 'hg resolve --mark %s'\n") % f)
1266 s(_(b"resolve manually then use 'hg resolve --mark %s'\n") % f)
1267 ms.addpath(f, f1, fo)
1267 ms.addpathconflict(f, f1, fo)
1268 progress.increment(item=f)
1268 progress.increment(item=f)
1269
1269
1270 # When merging in-memory, we can't support worker processes, so set the
1270 # When merging in-memory, we can't support worker processes, so set the
@@ -540,7 +540,7 class mergestate(object):
540 self._stateextras[fd] = {b'ancestorlinknode': hex(fca.node())}
540 self._stateextras[fd] = {b'ancestorlinknode': hex(fca.node())}
541 self._dirty = True
541 self._dirty = True
542
542
543 def addpath(self, path, frename, forigin):
543 def addpathconflict(self, path, frename, forigin):
544 """add a new conflicting path to the merge state
544 """add a new conflicting path to the merge state
545 path: the path that conflicts
545 path: the path that conflicts
546 frename: the filename the conflicting file was renamed to
546 frename: the filename the conflicting file was renamed to
General Comments 0
You need to be logged in to leave comments. Login now