
On Tue, 29 Dec 2009 14:02:52 -0600 Ted Gould <ted@...11...> wrote:
What it doesn't check is where that version is located in the tree. It could be on a branch (as in this case) and it doesn't check for that. So you can't delete data, but you can effectively change the layout of the tree.
Hi Ted, what do you think of
python -c 'import bzrlib.branch as b; b.Branch.open("bzr+ssh://bazaar.launchpad.net/path/to/branch").set_append_revisions_only(True)'
which I got from the people in #bzr? Supposedly that would reject pushes which would result in changes to the log, other than extensions of the log, of course.
I tried it locally with `bzr init --append-revisions-only myTest` and it seemed to work as advertised, the above of course is the code to set it on an existing repo on launchpad. On an existing local repo. you could edit .bzr/branch/branch.conf, on launchpad that's harder, although sftp might work, the #bzr folks said.
I know what happened will happen again and again if this isn't set.
Cheers -Terry