ANN: pbranch extension (alternative to mq, like topgit and bzr loom)
Peter Arrenbrecht
peter.arrenbrecht at gmail.com
Mon Dec 15 04:11:23 CST 2008
On Mon, Dec 15, 2008 at 11:03 AM, Arne Babenhauserheide <arne_bab at web.de> wrote:
> 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)?
I briefly considered something like this, but using date comparisons
is not going to be robust when we share repos. I'd rather have
something not so easy to break.
>
> 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
>
More information about the Mercurial
mailing list