Mercurial > hg
view tests/test-gendoc-zh_TW.t @ 29690:5684bc429e6a
discovery: move code to create outgoing from roots and heads
changegroup.changegroupsubset() contained somewhat low-level code for
constructing an "outgoing" instance from a list of roots and heads
nodes. It feels like discovery.py is a more appropriate location for
this code.
This code can definitely be optimized, as outgoing.missing will
recompute the set of changesets we've already discovered from
cl.between(). But code shouldn't be refactored during a move, so
I've simply inserted a TODO calling attention to that.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 03 Aug 2016 22:07:52 -0700 |
parents | 7a1ad08b9ff5 |
children |
line wrap: on
line source
#require docutils gettext $ $TESTDIR/check-gendoc zh_TW checking for parse errors