Mercurial > jhg
changeset 306:971baa95fb07
Experimental code to build file history, handy access to changeset added
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 22 Sep 2011 04:05:41 +0200 |
parents | ae8d116f4ee2 |
children | 2f2ab5c27f41 |
files | src/org/tmatesoft/hg/repo/HgDataFile.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgDataFile.java Thu Sep 22 03:57:38 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgDataFile.java Thu Sep 22 04:05:41 2011 +0200 @@ -356,8 +356,8 @@ } public RawChangeset changeset() { - - return null; + final int cs = completeHistory[index].changeset; + return getRepo().getChangelog().range(cs, cs).get(0); } }; }