Checkouts require working trees at server branch??

Asked by Jon Loldrup

I have long been using this server branch:

sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk

with local checkouts and branches

now, coming back to it after a while (in the mean time my local branch had been pushed to a new server and I used the new server for my server branch), this is what happens:

loldrup@explab:~/repo/trunk$ bzr bind sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk
loldrup@explab:~/repo/trunk$ bzr update sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk
bzr: ERROR: No WorkingTree exists for "sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk/.bzr/checkout/".
loldrup@explab:~/repo/trunk$

hmm... Does checkouts require that a working tree is present in/at the server branch?? Since when?

Jon

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

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

On 11/30/2010 10:00 AM, Jon Loldrup wrote:
> New question #136081 on Bazaar:
> https://answers.launchpad.net/bzr/+question/136081
>
> I have long been using this server branch:
>
> sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk
>
> with local checkouts and branches
>
> now, coming back to it after a while (in the mean time my local branch had been pushed to a new server and I used the new server for my server branch), this is what happens:
>
> loldrup@explab:~/repo/trunk$ bzr bind sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk
> loldrup@explab:~/repo/trunk$ bzr update sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk
> bzr: ERROR: No WorkingTree exists for "sftp://brok.diku.dk/usr/local/projects/disk07/dirdiffsim/repo/trunk/.bzr/checkout/".
> loldrup@explab:~/repo/trunk$

^- you don't give a path to "bzr update" for where to update from. The
command you gave here was to update the sftp branch.

What you want is just:

bzr bind sftp://remote/branch
bzr update

John
=:->

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

iEYEARECAAYFAkz1IK4ACgkQJdeBCYSNAAMf9wCfVpfJSe6ApN6fMHwGaRZPC2+3
2V0AoJRwvKrPZaaPGWnCppdfP0mYDtZ7
=zXxS
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask Jon Loldrup for more information if necessary.

To post a message you must log in.