bzr branch . has a confusing error message
Bug #101952 reported by
Wouter van Heyst
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
Users coming from other systems, notably git, are not always familiar with the Bazaar design.
To discover what available branches there might be, such a user might try:
`bzr branch`
bzr: ERROR: command 'branch' requires argument FROM_LOCATION
(or nothing in old versions, need to check that)
Trying the next best thing:
`bzr branch .`
bzr: ERROR: Target directory "." already exists.
Very confusing.
Changed in bzr: | |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
tags: | added: check-for-breezy |
To post a comment you must log in.
Whereas `bzr branch path/to/.` will happily branch . to dirname(path/to/.)
Since there is a check for existing directories that prevents fun with `bzr branch subdir/..`, but if branch
ever got something like --use-existing-dir ala bug 30576, that check might be gone.