Mercurial > hg4j
comparison 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 |
comparison
equal
deleted
inserted
replaced
513:a41d955dc360 | 514:5dcb4581c8ef |
---|---|
67 this(hgRepo, rev, flags, p); | 67 this(hgRepo, rev, flags, p); |
68 isCopy = Boolean.valueOf(orig == null); | 68 isCopy = Boolean.valueOf(orig == null); |
69 origin = orig; | 69 origin = orig; |
70 } | 70 } |
71 | 71 |
72 public HgFileRevision(HgDataFile fileNode, Nodeid fileRevision, Path origin) { | |
73 this(fileNode.getRepo(), fileRevision, null, fileNode.getPath(), origin); | |
74 } | |
75 | |
72 public Path getPath() { | 76 public Path getPath() { |
73 return path; | 77 return path; |
74 } | 78 } |
75 | 79 |
80 /** | |
81 * Revision of the file | |
82 * @return never <code>null</code> | |
83 */ | |
76 public Nodeid getRevision() { | 84 public Nodeid getRevision() { |
77 return revision; | 85 return revision; |
78 } | 86 } |
79 | 87 |
80 /** | 88 /** |