Mercurial > hg4j
diff cmdline/org/tmatesoft/hg/console/Log.java @ 88:61eedab3eb3e
Status between two revisions to recognize copy/rename
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 26 Jan 2011 05:46:47 +0100 |
parents | 4222b04f34ee |
children | ee2c750b036d |
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Log.java Wed Jan 26 01:07:26 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Log.java Wed Jan 26 05:46:47 2011 +0100 @@ -182,9 +182,9 @@ } Nodeid p1 = changelogWalker.safeFirstParent(csetNodeid); Nodeid p2 = changelogWalker.safeSecondParent(csetNodeid); - int p1x = p1 == Nodeid.NULL ? -1 : repo.getChangelog().getLocalRevisionNumber(p1); - int p2x = p2 == Nodeid.NULL ? -1 : repo.getChangelog().getLocalRevisionNumber(p2); - int mx = repo.getManifest().getLocalRevisionNumber(cset.getManifestRevision()); + int p1x = p1 == Nodeid.NULL ? -1 : repo.getChangelog().getLocalRevision(p1); + int p2x = p2 == Nodeid.NULL ? -1 : repo.getChangelog().getLocalRevision(p2); + int mx = repo.getManifest().getLocalRevision(cset.getManifestRevision()); f.format("parent: %d:%s\nparent: %d:%s\nmanifest: %d:%s\n", p1x, p1, p2x, p2, mx, cset.getManifestRevision()); } f.format("user: %s\ndate: %s\n", cset.getUser(), cset.getDate());