Logo Search packages:      
Sourcecode: hgsubversion version File versions  Download package

def test_fetch_mappings::MapTests::test_branchmap_tagging (   self,
  stupid = False 
)
test tagging a renamed branch, which used to raise an exception

Definition at line 150 of file test_fetch_mappings.py.

                                                  :
        '''test tagging a renamed branch, which used to raise an exception'''
        test_util.load_svndump_fixture(self.repo_path, 'commit-to-tag.svndump')
        branchmap = open(self.branchmap, 'w')
        branchmap.write("magic = art\n")
        branchmap.close()
        ui = self.ui(stupid)
        ui.setconfig('hgsubversion', 'branchmap', self.branchmap)
        commands.clone(ui, test_util.fileurl(self.repo_path),
                       self.wc_path, branchmap=self.branchmap)
        branches = set(self.repo[i].branch() for i in self.repo)
        self.assertEquals(sorted(branches), ['art', 'closeme'])


Generated by  Doxygen 1.6.0   Back to index