should not allow pushing a branch to the root of a shared repository

Bug #641109 reported by Martin Pool on 2010-09-17
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar
Medium
Unassigned

Bug Description

One of my colleges accidentally pushed a branch of his to the root of a shared repository.
Now when he runs bzr log on the shared repo, all he can now sees is the history of the branch that he pushed. Instead of seeing the history of all the branches, as before the accidental push)

Similar problem happens when he uses "bzr explorer bzr://repo" (where bzr://repo is the url to the shared repository).

Martin Pool (mbp) on 2010-09-17
tags: added: confusing-ui easy
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Alexander Belchenko (bialix) wrote :

+1 on this. I would like to have such guard mechanism as well.

One possible solution:
Warn the user of what is going to take place (i.e that you are trying to push a branch over a shared repository) and they provide him with the option to continue or abort the operation.

Jelmer Vernooij (jelmer) on 2017-11-09
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers