Comment 1 for bug 730286

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 730286] [NEW] deprecate Branch.set_revision_history

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/6/2011 10:19 PM, Jelmer Vernooij wrote:
> Public bug reported:
>
> Branch.set_revision_history scales with the size of history - it's the
> main reason uncommit is slow on big trees.
>
> It also complicates the Branch interface unnecessarily for foreign
> implementations.

There is no reason to use it over Branch.set_last_revision_info() (if we
are missing that api, we should add it.)

I think there is even one that lets you not know the last revno, and use
a revision. Which then uses a Graph object to determine the revno from a
couple of starting points.

I'm fine nuking it, or at least deprecating it, etc.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk10m6MACgkQJdeBCYSNAAM0qQCfSbWgPRaNcOawrIz0OVZzo8WK
rPoAnR7nPnnvGF/pXlaof4jKj6b08tGq
=Yn3X
-----END PGP SIGNATURE-----