summary: run discovery only once for in/out against same repo
Reuses the result of findcommonincoming if default and default-push
are the same.
discovery: resurrect findoutgoing as findcommonoutgoing for extension hooks
discovery.findoutgoing used to be a useful hook for extensions like
hgsubversion. This patch reintroduces this version of findcommonincoming
which is meant to be used when computing outgoing changesets.
revlog: compute correct deltaparent in the deltaparent function
It now returns nullrev for chain base revisions, since they are conceptually
deltas against nullrev. The revdiff function was updated accordingly.
subrepo: use code from
71ea5b2b9517 only if Python needs it (
issue2795)
With Python >= 2.6 the original code already works correct, therefore the
fix for
issue2556 on Python <= 2.5 broke relative subrepositories with
newer versions of Python.