Mercurial > hg4j
comparison src/com/tmate/hgkit/ll/HgRepository.java @ 13:df8c67f3006a
Basic manifest parsing to analyze what's in there
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Sun, 26 Dec 2010 03:21:17 +0100 |
| parents | 382cfe9463db |
| children | 02ee376bee79 |
comparison
equal
deleted
inserted
replaced
| 12:181fccc176ef | 13:df8c67f3006a |
|---|---|
| 39 return this.changelog; | 39 return this.changelog; |
| 40 } | 40 } |
| 41 | 41 |
| 42 public final HgManifest getManifest() { | 42 public final HgManifest getManifest() { |
| 43 if (this.manifest == null) { | 43 if (this.manifest == null) { |
| 44 this.manifest = new HgManifest(this); | 44 RevlogStream content = resolve(toStoragePath("00manifest.i", false)); |
| 45 this.manifest = new HgManifest(this, content); | |
| 45 } | 46 } |
| 46 return this.manifest; | 47 return this.manifest; |
| 47 } | 48 } |
| 48 | 49 |
| 49 public abstract HgDataFile getFileNode(String path); | 50 public abstract HgDataFile getFileNode(String path); |
