comparison src/org/tmatesoft/hg/core/HgIncomingCommand.java @ 195:c9b305df0b89

Optimization: use ParentWalker to get changeset's parents, if possible. Do not keep duplicating nodeids and strings in manifest revisions
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 15 Apr 2011 05:17:44 +0200
parents 344e8d7e4d6e
children 706bcc7cfee4
comparison
equal deleted inserted replaced
194:344e8d7e4d6e 195:c9b305df0b89
131 private final HgChangelog.ParentWalker parentHelper; 131 private final HgChangelog.ParentWalker parentHelper;
132 private final ChangesetTransformer transformer; 132 private final ChangesetTransformer transformer;
133 private final HgChangelog changelog; 133 private final HgChangelog changelog;
134 134
135 { 135 {
136 transformer = new ChangesetTransformer(localRepo, handler); 136 transformer = new ChangesetTransformer(localRepo, handler, getParentHelper());
137 transformer.limitBranches(branches); 137 transformer.limitBranches(branches);
138 parentHelper = getParentHelper(); 138 parentHelper = getParentHelper();
139 changelog = localRepo.getChangelog(); 139 changelog = localRepo.getChangelog();
140 } 140 }
141 141