prevent push overwrite of repo branch
Asked by
edA-qa
How can I set the file permissions of a repository to allow somebody to push to the branch, but not be allowed to overwrite it?
That is, currently a user can completely overwrite the branch by doing:
bzr push --overwrite --use-existing-dir target_repo_branch
This is obviously not a good thing as the revision history then appears to be completely lost.
So how can I prevent that operation while allowing the normal correct push operations?
--
Our server is a linux machine using bzr+ssh as the protocol.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask edA-qa for more information if necessary.
To post a message you must log in.