comparison 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
comparison
equal deleted inserted replaced
988:06d0009b22ad 989:68191be64af8
100 }) 100 })
101 self.assertMultiLineEqual(expected, actual) 101 self.assertMultiLineEqual(expected, actual)
102 102
103 def test_missing_metadata(self): 103 def test_missing_metadata(self):
104 self._load_fixture_and_fetch('two_heads.svndump') 104 self._load_fixture_and_fetch('two_heads.svndump')
105 os.remove(self.repo.join('svn/branch_info'))
106 svncommands.updatemeta(self.ui(), self.repo, [])
107
105 test_util.rmtree(self.repo.join('svn')) 108 test_util.rmtree(self.repo.join('svn'))
106 self.assertRaises(hgutil.Abort, 109 self.assertRaises(hgutil.Abort,
107 self.repo.svnmeta) 110 self.repo.svnmeta)
108 self.assertRaises(hgutil.Abort, 111 self.assertRaises(hgutil.Abort,
109 svncommands.info, 112 svncommands.info,