Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/ChangesetTransformer.java @ 403:2747b0723867
FIXMEs: work on exceptions and javadoc
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 05 Mar 2012 14:50:51 +0100 |
parents | 2fadf8695f8a |
children | 528b6780a8bd |
comparison
equal
deleted
inserted
replaced
402:1fcc7f7b6d65 | 403:2747b0723867 |
---|---|
106 PathPool pp = new PathPool(new PathRewrite.Empty()); | 106 PathPool pp = new PathPool(new PathRewrite.Empty()); |
107 statusCollector.setPathPool(pp); | 107 statusCollector.setPathPool(pp); |
108 changeset = new HgChangeset(statusCollector, pp); | 108 changeset = new HgChangeset(statusCollector, pp); |
109 changeset.setParentHelper(pw); | 109 changeset.setParentHelper(pw); |
110 } | 110 } |
111 | 111 |
112 // FIXME document instance reuse policy | |
112 HgChangeset handle(int revisionNumber, Nodeid nodeid, RawChangeset cset) { | 113 HgChangeset handle(int revisionNumber, Nodeid nodeid, RawChangeset cset) { |
113 changeset.init(revisionNumber, nodeid, cset); | 114 changeset.init(revisionNumber, nodeid, cset); |
114 return changeset; | 115 return changeset; |
115 } | 116 } |
116 } | 117 } |