Question

local machine: Fedora 13 Subversion: 1.6.9

remote machine:
CentSO 5.3
subversion 1.4.2

I have a project which is on the remote machine:

remote@x.x.x.x:projects/ssd1

I have mounted this on my local machine:

sshfs remote@x.x.x.x:projects/ssd1 /home/jbloggs/projects/mnt/ssd1

Everything mounts ok. So I open my project using GNU Emacs 23.2.1. When I want to comment my changes in emacs I get the following error:

can't move /home/jbloggs/projects/mnt/ssd1/.svn/tmp/entries to /home/jbloggs/mnt/ssd1/.svn/entries: Operation not permitted

Does anyone know of any way I can resolve this issue?

many thanks for any advice,

Was it helpful?

Solution

I think the issue is with sshfs, rather than Subversion. The short answer is: try the "rename workaround" option:

 sshfs -o workaround=rename ...

If that doesn't help see if you can rename the file manually using the Linux mv command (not the SVN one). If not, can you rename it using SFTP (ie. without using sshfs)? See http://www.mail-archive.com/macfuse-devel@googlegroups.com/msg00559.html for a more detailed discussion.

OTHER TIPS

I think what may be going on here is that you checked out the working copy on the remote machine, and it checked out to one path, but on the mounted drive, you're working under a different path.

How different are the two paths on the local and remote machine? Would it be possible for you to make the paths identical?

I would unmount the drive, remount it with the exact same path as the path on the remote machine, do an svn cleanup, and try to commit then.

Why you are mounting the project path from the remote machine? Wouldn't it be easier to checkout a working copy on the local machine?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top