[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

solved: using bindfs to hide symbolic links from subversion (make subversion follow symlinks)

From: Dirk <noisyb_at_pwnoogle.com>
Date: Sat, 09 Nov 2013 03:01:35 +0100

Hello,

I have changed bindfs to hide symbolic links from subversion so it
commits the actual file to the repository.

Here is the patch. (Mirror: http://pastebin.com/PfzpBMp6 )

Download: http://bindfs.org/downloads/bindfs-1.12.3.tar.gz
tar xvfz bindfs-1.12.3.tar.gz
mv bindfs-1.12.3 bindfs
patch -p0 <bindfs-1.12.3.patch
cd bindfs
./configure;make;make install

Note that the entire local copy of a repository needs to be mounted or
else subversion will complain about having to rename files between
different devices on updates and commits.

Like this:
bindfs ./local_copy ./local_copy -o nonempty,follow-symbolic-links

The patch also seems to work with the current (20131109) git version of
bindfs.

I also expect it to hide symbolic links from git.

Enjoy

Received on 2013-11-09 03:02:13 CET

This is an archived mail posted to the Subversion Dev mailing list.