Prevent push to root of a repository?
Asked by
Tom Dickson
I have a repository setup on an SSH server as so:
bzr init-repo code
cd code
bzr init trunk
And I then get something that looks like this:
code
code/trunk
code/branch
etc.
However, I sometimes accidentally push code/trunk to code itself, which I don't want to do. Is there a way to make sure you can't push to the root of a repository, but still be able to update and use the branches?
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 Tom Dickson for more information if necessary.
To post a message you must log in.