Mercurial > hgsubversion
comparison tests/test_tags.py @ 573:00393e9abff8
svncommands: make repo optional (useful for things like listauthors)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 23 Feb 2010 17:16:51 +0100 |
parents | 9e6499c415a9 |
children | 066453cf2014 |
comparison
equal
deleted
inserted
replaced
572:7f0e8fd6ee22 | 573:00393e9abff8 |
---|---|
114 "You should check that before assuming issues with this test.\n") | 114 "You should check that before assuming issues with this test.\n") |
115 wc2_path = self.wc_path + '2' | 115 wc2_path = self.wc_path + '2' |
116 src, dest = hg.clone(repo.ui, self.wc_path, wc2_path, update=False) | 116 src, dest = hg.clone(repo.ui, self.wc_path, wc2_path, update=False) |
117 svncommands.rebuildmeta(repo.ui, | 117 svncommands.rebuildmeta(repo.ui, |
118 dest, | 118 dest, |
119 os.path.dirname(dest.path), | |
120 args=[test_util.fileurl(self.repo_path), ]) | 119 args=[test_util.fileurl(self.repo_path), ]) |
121 commands.pull(self.repo.ui, self.repo, stupid=stupid) | 120 commands.pull(self.repo.ui, self.repo, stupid=stupid) |
122 dtags, srctags = dest.tags(), self.repo.tags() | 121 dtags, srctags = dest.tags(), self.repo.tags() |
123 dtags.pop('tip') | 122 dtags.pop('tip') |
124 srctags.pop('tip') | 123 srctags.pop('tip') |