Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgFileRevision.java @ 514:5dcb4581c8ef
Report renames when following file history tree with HgFileRenameHandlerMixin
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 17 Dec 2012 19:06:07 +0100 |
parents | b3b1db9301a2 |
children | 0d5e1ea7955e |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgFileRevision.java Mon Dec 17 15:01:57 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgFileRevision.java Mon Dec 17 19:06:07 2012 +0100 @@ -69,10 +69,18 @@ origin = orig; } + public HgFileRevision(HgDataFile fileNode, Nodeid fileRevision, Path origin) { + this(fileNode.getRepo(), fileRevision, null, fileNode.getPath(), origin); + } + public Path getPath() { return path; } + /** + * Revision of the file + * @return never <code>null</code> + */ public Nodeid getRevision() { return revision; }