Mercurial > hg4j
comparison src/com/tmate/hgkit/ll/HgDataFile.java @ 49:26e3eeaa3962
branch and user filtering for log operation
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Sat, 15 Jan 2011 01:15:38 +0100 |
parents | e34f90b9ded1 |
children | 9429c7bd1920 576d6e8a09f6 |
comparison
equal
deleted
inserted
replaced
48:e34f90b9ded1 | 49:26e3eeaa3962 |
---|---|
31 public String getPath() { | 31 public String getPath() { |
32 return path; // hgRepo.backresolve(this) -> name? | 32 return path; // hgRepo.backresolve(this) -> name? |
33 } | 33 } |
34 | 34 |
35 public int length(Nodeid nodeid) { | 35 public int length(Nodeid nodeid) { |
36 int revision = content.findLocalRevisionNumber(nodeid); | 36 return content.dataLength(getLocalRevisionNumber(nodeid)); |
37 return content.dataLength(revision); | |
38 } | 37 } |
39 | 38 |
40 public byte[] content() { | 39 public byte[] content() { |
41 return content(TIP); | 40 return content(TIP); |
42 } | 41 } |