# HG changeset patch # User Patrick Mezard # Date 1264841728 -3600 # Node ID 715d2e3e153bb9d36b7110110a7175e8983f4452 # Parent e38f110e70881cb856c67e88b90430018258c82e stupid: port hack from stupid to moderately stupid mode diff --git a/hgsubversion/stupid.py b/hgsubversion/stupid.py --- a/hgsubversion/stupid.py +++ b/hgsubversion/stupid.py @@ -446,6 +446,10 @@ def fetch_branchrev(svn, meta, branch, b isexec = 'x' in mode islink = 'l' in mode copied = copies.get(path) + # TODO this branch feels like it should not be required, + # and this may actually imply a bug in getcopies + if copied not in parentctx.manifest(): + copied = None return context.memfilectx(path=path, data=data, islink=islink, isexec=isexec, copied=copied)