Unable to connect to target of bound branch BzrBranch6: Not a branch

John Arbash Meinel john at arbash-meinel.com
Sun Sep 6 15:11:06 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jerome Leclanche wrote:
> Hi list
> 
> I recently moved a duplicate branch, that was residing at
> sigrie:/home/sigrie/sigrie-stable to
> sigrie:/home/sigrie/projects/sigrie. The old directory became a
> symlink to ~/projects/sigrie.
> 
> Now, when trying to push remotely, I get:
> bzr: ERROR: Unable to connect to target of bound branch
> BzrBranch6('sftp://sigrie/~/projects/sigrie/') =>
> file:///home/sigrie/projects/sigrie/: Not a branch:
> "/home/sigrie/projects/sigrie/".
> 
> Locally:
> $ pwd; bzr up
> /home/sigrie/projects/sigrie
> Tree is up to date at revision 766.
> 
> Any idea how to fix that?
> 
> 
> J. Leclanche / Adys

The problem is that your remote branch has a 'file:///' url as its bound
branch, which means it thinks it should access the branch on your local
machine (note the one on sftp://sigre/...)

You probably want to look at .bzr/branch/branch.conf and see about
changing the file:/// url for a relative one:

bound_location = ../../../projects/sigrie

Or something like that.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqjwvoACgkQJdeBCYSNAAPZCwCdFPXbVgyCHNRHcuobn1381E5L
HUEAoKT8jfS+OHIECViw4NN5aBhIW4He
=/qmM
-----END PGP SIGNATURE-----



More information about the bazaar mailing list