Bazaar SVN plugin and the append_revisions_only error
Posted by Kash Farooq on November 16, 2009
If you try to push changes from your Bazaar feature branch back to a Subversion repository, and the Subversion repository has been changed since you created your Bazaar branch, you may get something like this:
bzr push Using saved push location: svn+http://svn/repos/Trunk/MyProject bzr: ERROR: Operation denied because it would change the mainline history. Set the append_revisions_only setting to False on branch "svn+http://svn/repos/Trunk/MyProject" to allow the mainline to change.
The current version of Bazaar on Windows does not give you much information on where you have to do this.
This is what I did to allow me to push code back into Subversion.
Find subversion.conf. It is located at:
- Windows Vista: C:\Users\your-user-name\AppData\Roaming\bazaar\2.0\
- Windows XP/2003: C:\Documents and Settings\your-user-name\ApplicationData\bazaar\2.0\
Inside this file you’ll see something like this:
[4ef181b9-d188-42c4-ae88-5d15bdaece0b] locations = svn+http://svn/repos/Trunk/MyProject
Simply change the file to:
[4ef181b9-d188-42c4-ae88-5d15bdaece0b] locations = svn+http://svn/repos/Trunk/MyProject append_revisions_only = False
4 Responses to “Bazaar SVN plugin and the append_revisions_only error”
Sorry, the comment form is closed at this time.