ANN: pbranch new release

Peter Arrenbrecht peter.arrenbrecht at
Thu Nov 27 05:58:24 CST 2008

On Thu, Nov 27, 2008 at 11:55 AM, Peer Sommerlund
<peer.sommerlund at> wrote:
> 2008/11/27 Peter Arrenbrecht <peter.arrenbrecht at>
>> Hi Peer
>> I just pushed a new version of pbranch. This one departs from the use
>> of `hg pdep` and `hg pnew` and instead uses a file called
>> .hg/patchgraph to describe patch dependencies. This is, in my opinion,
>> much more flexible and easier when you need to reshuffle your patches.
>> Please see the updated docs at:
>> Also, it does not need to patch graphlog or patchbomb any longer (with
>> latest crew).
>> The dependencies to be used for `hg pdiff` are still recorded within
>> the patch branch in the .hgpatchinfo/ subdir. This is so when you go
>> back to a particular revision and do `hg pdiff`, you really get the
>> diff as it was then. To ensure this, pbranch now records actual cset
>> ids instead of branch names in the .hgpatchinfo/patchname.deps files
>> (meaning, alas, it needs to update them a little more often).
> It looks like a nice improvement.
> What happens when I use the latest version of pbranch on my older pbranch
> repositories?
> Is it sufficient to create a .hg/patchgraph file on tip, or do I have to
> manually recreate all my pbranch repositories?

It should pick up existing deps when you first run `hg pgraph` and
create a .hg/patchgraph file for you.

> PS. The peditmessage should have a prominent left-margin tag as the other
> commands on

Yep, thanks.

More information about the Mercurial-devel mailing list