You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Hal Vaughan <ha...@thresholddigital.com> on 2005/07/21 04:14:46 UTC

Restricting Directories Imported to SVN

I have a project I'm working on that consists of Perl executables and Perl 
modules.  (There's also another subdir that contains a secondary project, but 
that's a different issue -- just mention it in case it makes a difference.)  
The perl executable scripts are in project/bin and the mods are in 
project/perllib.  In terms of dealing with backups and access to the project 
from other coders, it would be a lot simpler if the SVN repository could be 
in something like project/versions (in other words, in a subdirectory of the 
project).

Is there some way I can create a repository in /project/versions (that part 
I've done) and import to it ONLY specified directories, like project/bin and 
project/perllib?  (Later we might want it to include config directories, but 
the key point is to import ONLY the directories wanted, not all directories.)

Thanks!

Hal

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


Re: Restricting Directories Imported to SVN

Posted by "S.Ramaswamy" <sr...@gmail.com>.
On 7/21/05, Hal Vaughan <ha...@thresholddigital.com> wrote:
> I have a project I'm working on that consists of Perl executables and Perl
> modules. (There's also another subdir that contains a secondary project, but
> that's a different issue -- just mention it in case it makes a difference.) 
> The perl executable scripts are in project/bin and the mods are in
> project/perllib. In terms of dealing with backups and access to the project
> from other coders, it would be a lot simpler if the SVN repository could be
> in something like project/versions (in other words, in a subdirectory of the
> project).
> 
> Is there some way I can create a repository in /project/versions (that part
> I've done) and import to it ONLY specified directories, like project/bin and
> project/perllib? (Later we might want it to include config directories, but
> the key point is to import ONLY the directories wanted, not all directories.)
> 

The svn:ignore property could be set on file patterns that you don't
want to import.
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.special.ignore

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