Browse files

Bug 869774 - hg util test testPushWithRevision fails on newer mercuri…

…al (>2.1). r=bhearsum

--HG--
extra : rebase_source : 26a796ea841d7751d4b06728ad44a486930c91c1
  • Loading branch information...
1 parent 81973a1 commit f0564df634e1837435666ea53f6329a683931471 @Callek Callek committed May 8, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/python/mozilla_buildtools/test/test_util_hg.py
View
4 lib/python/mozilla_buildtools/test/test_util_hg.py
@@ -293,9 +293,9 @@ def testPushWithBranch(self):
self.assertEquals(getRevisions(self.wc), self.revisions)
def testPushWithRevision(self):
- clone(self.repodir, self.wc, revision=self.revisions[-2],
+ clone(self.repodir, self.wc, revision=self.revisions[-1],
clone_by_rev=True)
- push(src=self.repodir, remote=self.wc, revision=self.revisions[-1])
+ push(src=self.repodir, remote=self.wc, revision=self.revisions[-2])
self.assertEquals(getRevisions(self.wc), self.revisions[-2:])
def testPurgeUntrackedFile(self):

0 comments on commit f0564df

Please sign in to comment.