branch creates a folder when source branch doesn't exist

Bug #322730 reported by Adrian Wilkins
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

bzr branch creates the target folder before it verifies the source branch exists. This is mildly annoying when you fluff a link and have to clean up the folder so created.

# I'll just grab a local branch ....
adrian@motoko:~/nhsdd/workspace$ bzr branch http://some.repo.com/repository/model.cp1017
bzr: ERROR: Not a branch: "http://www.datadictionary.nhs.uk/repository/model.cp1017/".

# Darn, that server doesn't support dumb-http
adrian@motoko:~/nhsdd/workspace$ bzr branch bzr+http://some.repo.com/repository/model.cp1017
bzr: ERROR: Target directory "model.cp1017" already exists.

# Curses
rm -rf model.cp1017
adrian@motoko:~/nhsdd/workspace$ bzr branch bzr+http://some.repo.com/repository/model.cp1017
Branched 42 revision(s).

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.