Mercurial > hgsubversion
diff hgsubversion/editor.py @ 963:64d961130a07
editor: do not record invalid path deletion
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Mon, 15 Oct 2012 22:24:29 +0200 |
parents | 8648ccfb8325 |
children | f3d900d320b9 |
line wrap: on
line diff
--- a/hgsubversion/editor.py +++ b/hgsubversion/editor.py @@ -225,7 +225,8 @@ class HgEditor(svnwrap.Editor): 'opened directory: %s != %s' % (self._opendirs[-1][0], baton)) def _deletefile(self, path): - self._deleted.add(path) + if self.meta.is_path_valid(path): + self._deleted.add(path) if path in self._svncopies: del self._svncopies[path] self._missing.discard(path)