Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgAnnotateCommand.java @ 680:58a6900f845d
Blame: alternative strategy to handle merge revisions: map(diff(p1->base->p2)) to understand merge intentions better
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Sun, 21 Jul 2013 17:15:34 +0200 |
| parents | 1c49c0cee540 |
| children | f1f095e42555 |
comparison
equal
deleted
inserted
replaced
| 679:19f5167c2155 | 680:58a6900f845d |
|---|---|
| 78 file = filePath; | 78 file = filePath; |
| 79 followRename = followCopyRename; | 79 followRename = followCopyRename; |
| 80 return this; | 80 return this; |
| 81 } | 81 } |
| 82 | 82 |
| 83 | |
| 84 /** | |
| 85 * Select file to annotate, | |
| 86 * @param fileNode repository file to annotate | |
| 87 * @param followCopyRename true to follow copies/renames. | |
| 88 * @return <code>this</code> for convenience | |
| 89 */ | |
| 90 public HgAnnotateCommand file(HgDataFile fileNode, boolean followCopyRename) { | |
| 91 return file(fileNode.getPath(), followCopyRename); | |
| 92 } | |
| 93 | |
| 83 // TODO [post-1.1] set encoding and provide String line content from LineInfo | 94 // TODO [post-1.1] set encoding and provide String line content from LineInfo |
| 84 // TODO FWIW: diff algorithms: http://bramcohen.livejournal.com/73318.html | 95 // TODO FWIW: diff algorithms: http://bramcohen.livejournal.com/73318.html |
| 85 | 96 |
| 86 /** | 97 /** |
| 87 * Annotate selected file | 98 * Annotate selected file |
