how to modify bzr history

Asked by Timmie

how can I modify revision information of previous revisions later?
(like: => Author, Commit Message)


Question information

English Edit question
Bazaar Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Compall (scompall) said :

Bazaar follows a "mistakes are part of history" or "append-only" philosophy in both repository and branch history. You may also think of a revision as intrinsically containing the immutable history that precedes it.

If you want to edit a revision you just made, you can "uncommit" it. This built-in command works by rewinding the branch head pointer to the previous revision. As you will see if you do this, the uncommitted revision is not actually deleted, because repositories are append-only. Instead, it is replaced by the new revision you make when you commit again. This does not trickle across the web to people who have already branched or merged the "broken" revision; the fact that forcing potentially malicious updates to all branches is not safe is part of the reason for the "append-only" philosophy.

If you really must edit an old revision, you can branch that revision, uncommit and recommit, then use the rebase plugin ( to copy the remaining revisions to your new branch. You may not like the implications of that; see (shameless self-blog-promotion) for a visual explanation of what rebase does.

Can you help with this problem?

Provide an answer of your own, or ask Timmie for more information if necessary.

To post a message you must log in.