Commits

Patrick Mézard committed 68191be

updatemeta: fix missing errno import

  • Participants
  • Parent commits 06d0009

Comments (0)

Files changed (2)

hgsubversion/svncommands.py

 import sys
 import traceback
 import urlparse
+import errno
 
 from mercurial import commands
 from mercurial import hg

tests/test_utility_commands.py

 
     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)