bzr: ERROR: Target directory "." already exists. (bzr branch into current dir)
Bug #686262 reported by
Paul Sladen
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
Asking bzr to branch into the current directory produces:
$ bzr branch lp:somewhere/something .
bzr: ERROR: Target directory "." already exists.
This seems to be a case of bzr trying to be too clever and I think the complaint should perhaps only be shown if $target/.bzr/ already exists, rather than just $target/ itself. If I read bug #120511 correctly, this may have originally tried to be fixed.
summary: |
- bzr: ERROR: Target directory "." already exists. (bzr branch somewhere - .) + bzr: ERROR: Target directory "." already exists. (bzr branch into + current dir) |
description: | updated |
Changed in bzr: | |
status: | New → Confirmed |
tags: | added: easy ui |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
There's already the --use-existing-dir option to provide this behaviour.
So the issues I see are:
1. is the current behaviour a good default? (My feeling is yes.)
2. the error message doesn't suggest --use-existing-dir, but probably should.