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

Re: probleem with svn:ignore add

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-11-26 21:24:31 CET

Udo Kirin wrote:
> Hello,
> i have some trouble with svn:ignore and the svn add command.
> i have an directory which contains an directory called runs.
> this directory should not be under version control.
> the second problem ist that u have to create an wc in the same directory
> where
> the files come from so i tried the following.
>
> svnadmin create file:///<pathto>/anrepo
> svn mkdir file:///<pathto>/anrepo/emptdir
> cd mydir
> svn checkout file:///<pathto>/anrepo/emptidir .
>
> Now i set the problist to ignor the runs directory.
>
> svn pe svn:ignore .
> In the editor i wrote runs
>
> then i wont to add the files without the runs directoy with.
> svn add *
> But stdout brings runs is added.
> What went wrong?
> I assumed that the directory should not added to the repo

In "svn add *", the * expands to all things in the dir. That means "runs" is
effectively mentioned on the command line. "svn:ignore" only ignores things
implicitly encountered during recursion - if you explicitly mention
something on the command line, svn takes that as a signal that you are
overriding the ignore.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 26 21:28:09 2004

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.