comparison tests/test_tags.py @ 816:86d124a8768e

Fix hg.clone() calls changed by d976542986d2
author Patrick Mezard <pmezard@gmail.com>
date Wed, 15 Jun 2011 14:44:14 +0200
parents d2ef7220a079
children e9af7eba88db
comparison
equal deleted inserted replaced
815:e62e84a9464b 816:86d124a8768e
113 stupid=stupid) 113 stupid=stupid)
114 self.repo.ui.status( 114 self.repo.ui.status(
115 "Note: this test failing may be because of a rebuildmeta failure.\n" 115 "Note: this test failing may be because of a rebuildmeta failure.\n"
116 "You should check that before assuming issues with this test.\n") 116 "You should check that before assuming issues with this test.\n")
117 wc2_path = self.wc_path + '2' 117 wc2_path = self.wc_path + '2'
118 src, dest = hg.clone(repo.ui, self.wc_path, wc2_path, update=False) 118 src, dest = test_util.hgclone(repo.ui, self.wc_path, wc2_path, update=False)
119 svncommands.rebuildmeta(repo.ui, 119 svncommands.rebuildmeta(repo.ui,
120 dest, 120 dest,
121 args=[test_util.fileurl(self.repo_path), ]) 121 args=[test_util.fileurl(self.repo_path), ])
122 commands.pull(self.repo.ui, self.repo, stupid=stupid) 122 commands.pull(self.repo.ui, self.repo, stupid=stupid)
123 dtags, srctags = dest.tags(), self.repo.tags() 123 dtags, srctags = dest.tags(), self.repo.tags()