Mercurial > hg
comparison Makefile @ 15932:4154338f0bc0
discovery: diet discovery.prepush from non-discovery code
The ``discovery.prepush`` function was doing multiple things not related to
discovery. This changeset move some code into the ``localrepo.push`` method. The
old ``discovery.prepush`` function jobs is now restricted to checking for
multple head creation. It was then renamed ``discovery.checkheads``.
This new ``discovery.checkheads`` function may receive several other changes in
the future but we are a bit too much near the freeze for a wider refactoring.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Thu, 19 Jan 2012 15:50:55 +0100 |
parents | 3ca419fb435e |
children | 0c4bec9596d8 |
comparison
equal
deleted
inserted
replaced
15931:44b5de2d1876 | 15932:4154338f0bc0 |
---|