Comments
Patch
@@ -221,14 +221,9 @@ class mercurial_sink(converter_sink):
files = dict(files)
def getfilectx(repo, memctx, f):
- if p2ctx and f in p2files and f not in copies and False:
+ if p2ctx and f in cleanp2 and f in p2ctx and f not in copies:
self.ui.debug('reusing %s from p2\n' % f)
- try:
- return p2ctx[f]
- except error.ManifestLookupError:
- # If the file doesn't exist in p2, then we're syncing a
- # delete, so just return None.
- return None
+ return p2ctx[f]
try:
v = files[f]
except KeyError: