Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgPullCommand.java @ 672:d2552e6a5af6
Effective update of HgParentChildMap when repository got few revisions added
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 16:29:06 +0200 |
parents | d25f0324a27a |
children | 7743a9c10bfa |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgPullCommand.java Fri Jul 12 15:29:37 2013 +0200 +++ b/src/org/tmatesoft/hg/core/HgPullCommand.java Fri Jul 12 16:29:06 2013 +0200 @@ -97,8 +97,7 @@ added = insp.addedChangesets(); if (!added.isEmpty()) { - // FIXME refresh parentHelper with newly added revisions in effective way - parentHelper.init(); + parentHelper.init(); // refresh the map, we use it for phases below } // get remote phases, update local phases to match that of remote // do not update any remote phase (it's pull, after all)