Mercurial > hgsubversion
changeset 1466:16242cec256f
svncommands: unlink revmap file before rebuildmeta
Rebuildmeta should success regardless of what the content of revmap is. The
recent refactor makes it possible that a corrupted revmap file can prevent
"rebuildmeta" from running successfully.
This patch fixes the issue by deleting the revmap file before doing actual
rebuildmeta so that the revmap object can be created successfully.
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 07 Jun 2016 02:56:55 +0100 |
parents | 32166f557518 |
children | 53e306a6086b |
files | hgsubversion/svncommands.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff