ANN: pbranch extension (alternative to mq, like topgit and bzr loom)

Arne Babenhauserheide arne_bab at web.de
Mon Dec 15 04:03:15 CST 2008


Am Sonntag 14 Dezember 2008 09:52:31 schrieb Peter Arrenbrecht:
> While seemingly elegant in that it did not introduce .hgpatchinfo/*
> files into the real branches, this approach did not work out fully
> because it lacked a way to go back in time consistently (meaning you
> can update back to an earlier rev and get exactly the pdiffs back you
> had then, across clones).

Couldn't the pbranch extension check the date and then use the version of the 
.hgpatchinfo branch appropriate for the current workdir (as long as 
.hgpatchinfo/* wasn't changed in the workdir)? 

This could make .pbranch a lot slower when you're not at the tip (check if 
.hgpatcinfo/* was modified; check the branch; get the file from the manifest 
of the correct revision), but for normal operations the performance shouldn't 
be affected much I think (just one check: "Is the most recent .hgpatchinfo 
revision newer than the current revision? If not, get the file from its 
manifest."). 

But I'm sure there's still some more complexity underneath (for example 
.hgpatchinfo would have to know for which revision it is valid). 

Best wishes, 
Arne
-- 
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20081215/c215f371/attachment.pgp 


More information about the Mercurial mailing list