diff tests/test_utility_commands.py @ 989:68191be64af8

updatemeta: fix missing errno import
author Patrick Mezard <patrick@mezard.eu>
date Sat, 01 Dec 2012 18:52:00 +0100
parents 8faa91951bb1
children 6945d3359456
line wrap: on
line diff
--- 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)