help needed: how to create a commit on not the latest revision in a branch?
Reinhard Tartler
siretart at tauware.de
Thu Jun 21 15:01:06 BST 2007
Hi there,
I want to write a plugin, which does several things. Without going into
details, I need some help from you to solve the following subproblem:
Suppose we have a series of commits like this:
1 -> 2 -> 3 -> 4
Now I basically do a 'bzr revert -r 2', do some changes on the tree, and
want now to create a new commit, having 2 as parent. The end result
should be a repository which looks like this:
1 -> 2 -> 3 -> 4
`-> 2.1
Read: a repository having 2 heads: 4 and 2.1
I'm still very new to bzrlib and the bzrapi. Can someone please guide me
how to do such a commit using bzrlib?
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the bazaar
mailing list