`bzr branch URL .` refuses to create new branch in empty directory
Bug #307554 reported by
Alexander Belchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Alexander Belchenko | ||
QBzr |
Fix Released
|
Medium
|
Alexander Belchenko |
Bug Description
C:> bzr branch URL .
bzr: ERROR: Target directory "." already exists.
But I can do
bzr checkout URL .
bzr unbind
to achieve this.
Or I can
bzr init .
bzr pull URL
Why I can't do this in one command?
Changed in qbzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr: | |
assignee: | nobody → Alexander Belchenko (bialix) |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
milestone: | none → 1.17 |
To post a comment you must log in.
This bug affects qbranch dialog in QBzr plugin and therefore Bazaar Explorer GUI.
qbranch allows the user to select source branch and destination location. For destination location user can select new folder using native dialog to select directory. On Windows such native dialog allows user to create new empty directory. So it's natural for the user to create new empty dir and then run the operation. And as result -- got the error.
Explaining the user that he/she SHOULD NOT create new empty dir when branching via qbranch is... silly?
Is it possible to fix this easily in bzr itself? As I said before, checkout into existing directory works without any problems.