deprecate Branch.set_revision_history

Bug #730286 reported by Jelmer Vernooij on 2011-03-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Medium
Jelmer Vernooij

Bug Description

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.

Related branches

-----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-----

Jelmer Vernooij (jelmer) on 2011-03-08
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer) on 2011-05-16
Changed in bzr:
milestone: none → 2.4b3
status: Confirmed → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers