branching inside a repository shouldn't lock it
Bug #73855 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
When doing a branch (or other fetch-based operation) we currently lock both source and destination repositories. If the two branches are in the same repository the fetch should be a no-op, and we should be able to do without the repo lock.
To post a comment you must log in.
When we are branching, we should ensure that the last-revision of the the branch is not a ghost. In order to prevent the last-revision from being removed while we branch, we need a write lock.