Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgRepository.java @ 97:ee2c750b036d
Changelog to HgChangelog
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 21:25:21 +0100 |
parents | c2ce1cfaeb9e |
children | a3a2e5deb320 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Thu Jan 27 21:24:37 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Thu Jan 27 21:25:21 2011 +0100 @@ -64,7 +64,7 @@ private final PathRewrite dataPathHelper; private final PathRewrite repoPathHelper; - private Changelog changelog; + private HgChangelog changelog; private HgManifest manifest; private HgTags tags; // XXX perhaps, shall enable caching explicitly @@ -99,11 +99,11 @@ return repoDir == null || !repoDir.exists() || !repoDir.isDirectory(); } - public Changelog getChangelog() { + public HgChangelog getChangelog() { if (this.changelog == null) { String storagePath = repoPathHelper.rewrite("00changelog.i"); RevlogStream content = resolve(Path.create(storagePath)); - this.changelog = new Changelog(this, content); + this.changelog = new HgChangelog(this, content); } return this.changelog; }