bzr: ERROR: Target directory lp:jcn already exists, but does not have a .bzr directory. Supply --use-existing-dir to push there anyway.

Asked by Jacob Henner

When trying to push the first copy of a branch I get bzr: ERROR: Target directory lp:jcn already exists, but does not have a .bzr directory. Supply --use-existing-dir to push there anyway. I've used bazaar with Launchpad before and didn't get this error. Am I doing something wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

I see the branch does exist and it is linked to the jcn development series. Was this branch first created using the Launchpad configure-code page>

Regardless of how it was created. I think you can use
    bzr push --overwrite
to ensure your branch is on Launchpad and is the default branch for jcn

Revision history for this message
Jacob Henner (jacobhenner) said :
#2

Same error, and I believe it was. Shall I remove it and make a new one some other way? Thanks!

Revision history for this message
Max Bowsher (maxb) said :
#3

The solution is to use the --use-existing-dir option as mentioned in the original error message.

It looks like you have sorted this now.

Can you help with this problem?

Provide an answer of your own, or ask Jacob Henner for more information if necessary.

To post a message you must log in.