ANN: pbranch new release

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu Nov 27 02:03:29 CST 2008


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:

  http://arrenbrecht.ch/mercurial/pbranch/

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

I have also played with a version that does not store any patch info
in the patch branches, relegating it to a separate .hgpatchinfo branch
instead. You can get this version from the pbranch-metabranch branch
in the repo. However, this suffers from not being able to reproduce
diffs exactly as they were unless we introduced some form of
specialized branch tagging. So I ditched it. Details about this latter
approach are here:

  http://arrenbrecht.ch/mercurial/pbranch/blog.htm#pagetoc__1_1

Cheers,
-parren


More information about the Mercurial-devel mailing list