Mercurial > jhg
diff src/com/tmate/hgkit/ll/HgRepository.java @ 3:24bb4f365164
Rudimentary log functionality with basic infrastructure is in place
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 20 Dec 2010 02:50:36 +0100 |
parents | 08db726a0fb7 |
children | fc265ddeab26 |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/HgRepository.java Sun Dec 19 05:41:31 2010 +0100 +++ b/src/com/tmate/hgkit/ll/HgRepository.java Mon Dec 20 02:50:36 2010 +0100 @@ -37,8 +37,8 @@ public final Changelog getChangelog() { if (this.changelog == null) { // might want delegate to protected createChangelog() some day - this.changelog = new Changelog(this); - // TODO init + RevlogStream content = resolve("store/00changelog.i"); // XXX perhaps, knowledge about filenames should be in LocalHgRepo? + this.changelog = new Changelog(this, content); } return this.changelog; } @@ -62,5 +62,5 @@ /** * Perhaps, should be separate interface, like ContentLookup */ - public abstract RevlogStream resolve(String string); + protected abstract RevlogStream resolve(String string); }