[PATCH 5 of 7] changegroup: deprecate 'getlocalchangroup' (API)

Martin von Zweigbergk martinvonz at google.com
Fri May 5 12:41:57 EDT 2017


On Thu, May 4, 2017 at 11:26 PM, Pierre-Yves David
<pierre-yves.david at ens-lyon.org> wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at octobus.net>
> # Date 1493894621 -7200
> #      Thu May 04 12:43:41 2017 +0200
> # Node ID 2f51cfeac5bcf8ee266a6fada56517d5d44d9b6b
> # Parent  1e8427b7d0b9ce66c5ba34c2cdb64821ff909267
> # EXP-Topic changegroup.cleanup
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 2f51cfeac5bc
> changegroup: deprecate 'getlocalchangroup' (API)
>
> We have 'getchangegroup' with a shorter name for the exactly same feature. Now
> that all users are gone we can formally deprecate it.

We usually just delete methods that we no longer use internally. Why
not do that here?


More information about the Mercurial-devel mailing list