Mercurial > jhg
diff src/org/tmatesoft/hg/core/LogCommand.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 | af1f3b78b918 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/LogCommand.java Wed Jan 26 01:07:26 2011 +0100 +++ b/src/org/tmatesoft/hg/core/LogCommand.java Wed Jan 26 05:46:47 2011 +0100 @@ -179,7 +179,7 @@ // even if we do not follow history, report file rename do { FileRevision src = new FileRevision(repo, fileNode.getCopySourceRevision(), fileNode.getCopySourceName()); - FileRevision dst = new FileRevision(repo, fileNode.getRevisionNumber(0), fileNode.getPath()); + FileRevision dst = new FileRevision(repo, fileNode.getRevision(0), fileNode.getPath()); ((FileHistoryHandler) handler).copy(src, dst); if (limit > 0 && count >= limit) { // if limit reach, follow is useless.