Using SSHFS with Bazaar (Bzr) or Git
on Thursday 4th June, 2009 Gabe speculated thusly…I use SSHFS to mount remote drives locally. The remote computers don’t have Bzr installed, and it’s difficult to get them up to date enough to install the latest Bzr. Therefore, I execute Bzr on my local computer on the mounted filesystem. Using default mount options for SSHFS leads to errors in both Git and Bzr, this is because (I believe) SSHFS doesn’t directly support file renaming. It is possible to avoid these problems by using the -oworkaround=rename switch with the mount command.
As an example my mount command looks similar to this:
sshfs -oworkaround=rename user@computer1:/var/www /media/computer1