Pushing from packs to knits
Robert Collins
robertc at robertcollins.net
Fri Nov 16 01:53:34 GMT 2007
On Thu, 2007-11-15 at 19:51 -0600, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Pushing from a pack repo to a knit repo is really painful at the moment. I
> notice a lot because I use bound branches and my laptop/desktop are packs,
> while my service is knits. (That may change eventually, but I don't want to run
> reconcile on that machine just yet.)
>
> Anyway, I believe the current code completely re-annotates the file when it
> pushes a new text to the knit.
It doesn't.
> Wouldn't it be possible to just extract the
> annotated form from the target knit, and then add the new text value to it?
Thats what it does. It uses the abstract join, which is degrades to just
add_version(get_version())
> I could be wrong, but we are talking about >1 minute to commit a 2 line change
> to NEWS. Which is why I assumed it was reannotating from scratch rather than
> just annotating the new lines relative to the knit's text.
Something else was happening here.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071116/e5547a8f/attachment.pgp
More information about the bazaar
mailing list