NFS mounted repo fails

Asked by Paul Coene

Hi guys.

I wanted to create the repository on another machine and NFS mount that directory.

I am new to bzr, so what I came up with was creating the repo out on that mounted directory and the having the user create a symbolic link from thjeir copy (ala ln -s /mnt/repo/.bzr .bzr).

This seems to work great, but....

When we do a revert, we get:

bzr: ERROR: Failed to rename /home/eqemu/server/quests/oggok/Soonog.pl to /home/eqemu/server/quests/.bzr/checkout/limbo/new-1: [Errno 18] Invalid cross-device link

Is there a better way to do what I am doing? I realize a mv isn't going to work accross devices, but I really want the repo out on the server.

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 2013-05-02 22:56, Paul Coene wrote:
> New question #228036 on Bazaar:
> https://answers.launchpad.net/bzr/+question/228036
>
> Hi guys.
>
> I wanted to create the repository on another machine and NFS mount
> that directory.
>
> I am new to bzr, so what I came up with was creating the repo out
> on that mounted directory and the having the user create a symbolic
> link from thjeir copy (ala ln -s /mnt/repo/.bzr .bzr).
>
> This seems to work great, but....
>
> When we do a revert, we get:
>
> bzr: ERROR: Failed to rename
> /home/eqemu/server/quests/oggok/Soonog.pl to
> /home/eqemu/server/quests/.bzr/checkout/limbo/new-1: [Errno 18]
> Invalid cross-device link
>
> Is there a better way to do what I am doing? I realize a mv isn't
> going to work accross devices, but I really want the repo out on
> the server.
>

You can have a shared repository on the network mounted drive, and a
local checkout of it. That gives you local files for working (for both
speed and 1-filesystem), but has the history archived on the shared
location.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGCva0ACgkQJdeBCYSNAAPhbQCglDNLa9jAno5pkpRTd0uQOnC4
BNQAoKdkobJBEVzk2aT2sfMty1/WGAIf
=Le2Z
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask Paul Coene for more information if necessary.

To post a message you must log in.