Why I can't use '.' as valid TO_LOCATION argument?

Martin Pool mbp at canonical.com
Fri Dec 12 20:16:14 GMT 2008


On 12 Dec 2008, Alexander Belchenko <bialix at ukr.net> wrote:
> Is it bug?
> 
> C:> bzr branch URL .
> bzr: ERROR: Target directory "." already exists.

Because if only one location is given to bzr branch, it's the source
location, not the destination location.  It mean "branch from this
directory, creating a new one with the same final component".  For the
particular case of '.' perhaps there's no other interpretation but
"change this from a checkout to a branch", but if you say "bzr branch
../other" do I want to branch it to "./other" or do I want to make
"../other" branch from it's parent?

Perhaps the message could be better, at least.

-- 
Martin      <http://launchpad.net/~mbp>



More information about the bazaar mailing list