Mercurial > hg4j
comparison src/org/tmatesoft/hg/repo/HgDataFile.java @ 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 | 09628675bcee |
comparison
equal
deleted
inserted
replaced
305:ae8d116f4ee2 | 306:971baa95fb07 |
---|---|
354 public Nodeid changesetRevision() { | 354 public Nodeid changesetRevision() { |
355 return completeHistory[index].changesetRevision(); | 355 return completeHistory[index].changesetRevision(); |
356 } | 356 } |
357 | 357 |
358 public RawChangeset changeset() { | 358 public RawChangeset changeset() { |
359 | 359 final int cs = completeHistory[index].changeset; |
360 return null; | 360 return getRepo().getChangelog().range(cs, cs).get(0); |
361 } | 361 } |
362 }; | 362 }; |
363 } | 363 } |
364 | 364 |
365 public void history(HgChangelog.Inspector inspector) { | 365 public void history(HgChangelog.Inspector inspector) { |