Mercurial > hgsubversion
changeset 989:68191be64af8
updatemeta: fix missing errno import
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sat, 01 Dec 2012 18:52:00 +0100 |
parents | 06d0009b22ad |
children | def2144c0a8c |
files | hgsubversion/svncommands.py tests/test_utility_commands.py |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svncommands.py +++ b/hgsubversion/svncommands.py @@ -4,6 +4,7 @@ import cPickle as pickle import sys import traceback import urlparse +import errno from mercurial import commands from mercurial import hg
--- a/tests/test_utility_commands.py +++ b/tests/test_utility_commands.py @@ -102,6 +102,9 @@ class UtilityTests(test_util.TestBase): def test_missing_metadata(self): self._load_fixture_and_fetch('two_heads.svndump') + os.remove(self.repo.join('svn/branch_info')) + svncommands.updatemeta(self.ui(), self.repo, []) + test_util.rmtree(self.repo.join('svn')) self.assertRaises(hgutil.Abort, self.repo.svnmeta)