# HG changeset patch # User Siddharth Agarwal # Date 1410909386 25200 # Node ID eecfbd1fac0a954797cecc66445b7096da234df7 # Parent 57000c9b53f164961873e43c4c0b756ac93f574b stupid: in fetch_branchrev, use compat hack for filectxfn for deleted files diff --git a/hgsubversion/stupid.py b/hgsubversion/stupid.py --- a/hgsubversion/stupid.py +++ b/hgsubversion/stupid.py @@ -571,7 +571,10 @@ def fetch_branchrev(svn, meta, branch, b svnpath = path if branchpath: svnpath = branchpath + '/' + path - data, mode = svn.get_file(svnpath, r.revnum) + try: + data, mode = svn.get_file(svnpath, r.revnum) + except IOError: + return compathacks.filectxfn_deleted_reraise(memctx) isexec = 'x' in mode islink = 'l' in mode copied = copies.get(path)