You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sandip Bhattacharya <sa...@linux-delhi.org> on 2004/05/26 09:46:30 UTC

Adding external symlinks to svn repositories

Hi!

I was thinking of maintaining a system wide repository of important 
configuration files. I tried to create a repository filled with symlinks 
to different actual configuration files in the system, like /etc/passwd, 
/etc/samba/smb.conf, etc. The reason I am using symlinks is so that I 
dont forget adding the changes manually to the repository.

Unfortunately, svn doesnt recognize these symlinks. It keeps on aborting 
with the following message:

===============
[root@pluto root]# svn add .fetchmailrc
svn: Unsupported node kind for path '.fetchmailrc'
[root@pluto root]# svn --version
svn, version 1.0.2 (r9423)
    compiled May 15 2004, 13:40:00

===============

Is there any way I can ask svn to treat symlinks as normal files and 
follow them to get the actual file contents?

Thanks,
   Sandip

-- 
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.com        Home: http://www.sandipb.net

GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Adding external symlinks to svn repositories

Posted by Jeremy Pereira <je...@ntlworld.com>.
On May 26, 2004, at 18:41, Lele Gaifax wrote:

>
> Not currently, but you can simply going the other way around: keep the
> normal files under revision, and symlink them into the proper places.

Making sure your wc is on the root partition of course.  I don't know 
what would happen on reboot if, say, /etc/fstab was a symlink to a file 
on another partition.

>
> hth,
> ciao, lele.
> -- 
> nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
> real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
> email: lele@seldati.it	|		-- Fortunato Depero, 1929.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
--
Jeremy Pereira                             Tel: +44 (0)1252 401035
Senior Consultant                       Mobile: +44 (0)7884 265457
Axcelia Ltd                                Fax: +44 (0)1252 336934
http://www.axcelia.com           mailto:jeremy.pereira@axcelia.com


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Adding external symlinks to svn repositories

Posted by Lele Gaifax <le...@nautilus.homeip.net>.
>>>>> "Sandip" == Sandip Bhattacharya <sa...@linux-delhi.org> writes:

    Sandip> Is there any way I can ask svn to treat symlinks as normal
    Sandip> files and follow them to get the actual file contents?

Not currently, but you can simply going the other way around: keep the
normal files under revision, and symlink them into the proper places.

hth,
ciao, lele.
-- 
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org