Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgLogCommand.java @ 316:ee6b467c1a5f
Supply HGFileRevision with copy information when possible, calculate it otherwise
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 28 Sep 2011 13:09:16 +0200 |
parents | 6d1804fe0ed7 |
children | d68dcb3b5f49 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgLogCommand.java Wed Sep 28 12:18:21 2011 +0200 +++ b/src/org/tmatesoft/hg/core/HgLogCommand.java Wed Sep 28 13:09:16 2011 +0200 @@ -226,7 +226,7 @@ do { if (handler instanceof FileHistoryHandler) { HgFileRevision src = new HgFileRevision(repo, fileNode.getCopySourceRevision(), fileNode.getCopySourceName()); - HgFileRevision dst = new HgFileRevision(repo, fileNode.getRevision(0), fileNode.getPath()); + HgFileRevision dst = new HgFileRevision(repo, fileNode.getRevision(0), fileNode.getPath(), src.getPath()); try { ((FileHistoryHandler) handler).copy(src, dst); } catch (RuntimeException ex) {