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

Re: How can I add a number of files scattered over the directory tree?

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-26 23:09:30 CEST

On Oct 26, 2006, at 14:41, Jim Lynch wrote:

> I've a number of realted files I'd like to use svn to maintain but
> they are located in widely scattered places, like /etc/ /usr/local/
> lib/cgi-bin, /usr/local/etc, etc. I know I could keep copies of
> them in a single file but I'd like to be able to checkout them to
> their proper place, or is that a bad idea?
> I could also put thim in a single directory or small tree and use
> make and install to move them.
> What's the best way to handle this problem?

The smallest unit you can check out is a directory; you cannot check
out files. You can export files, but then you cannot edit them and be
able to commit the changes.

You may want to just keep all these items in a single directory, or a
few directories, in the repository, check this out to some new place,
and then create symlinks from /etc, /usr/local/lib/cgi-bin and the
other places to the files that you're versioning.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 26 23:10:11 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.