Mercurial > hg4j
changeset 199:f4fa4456fa50
Tip constant has changed, reflected in tests
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 20 Apr 2011 05:45:10 +0200 |
parents | 33a7d76f067b |
children | 114c9fe7b643 |
files | test/org/tmatesoft/hg/test/TestManifest.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestManifest.java Wed Apr 20 05:40:14 2011 +0200 +++ b/test/org/tmatesoft/hg/test/TestManifest.java Wed Apr 20 05:45:10 2011 +0200 @@ -100,7 +100,7 @@ private void testRevision(int rev) throws Exception { manifestParser.reset(); - eh.run("hg", "manifest", "--debug", "--rev", String.valueOf(rev)); + eh.run("hg", "manifest", "--debug", "--rev", String.valueOf(rev == TIP ? -1 : rev)); revisions.clear(); new HgManifestCommand(repo).revision(rev).execute(handler); report("manifest " + (rev == TIP ? "TIP:" : "--rev " + rev));