You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Udo Kirin <u....@zeiss3d.de> on 2004/11/26 10:30:07 UTC

probleem with svn:ignore add

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

Mit freundlichen Grüßen / Best Regards

Udo Kirin

Anwendungstechnik / 3D-S

Carl Zeiss 3D Metrology Services
Heinrich-Rieger-Str.1
D-73430 Aalen
fax:  +49 (0)7361 559 1849
phone:  +49 (0)7361 559 1851

E-Mail:  u.kirin@zeiss3d.de
WEB: http://www.zeiss3d.de

Haben Sie sich schon für unseren Newsletter eingetragen ?
http://www.zeiss.de/imt-newsletter





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


Re: probleem with svn:ignore add

Posted by Max Bowsher <ma...@ukf.net>.
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