You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marcin Gil <mg...@vernet.pl> on 2003/10/21 18:10:53 UTC
ignoring files
Hi!
I know there is something as svn:ignore, and pre-commit-hooks
(did my homework and viewed archives). But all this
seems awkward to me..
Is there something like cvsignore (and .cvsignore) in Subversion.
Pre-commit-hooks can exclude files for the whole repository,
while something like (.)svnignore could exclude files
from just a dir or from a users working copy..
--
Marcin Gil
email# mgil : vernet pl | GaduGadu ID# 185057
JID# dentharg : chrome pl |
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: ignoring files
Posted by "C. Michael Pilato" <cm...@collab.net>.
Christophe Labouisse <ga...@tigris.org> writes:
> Everything you'd put into a .cvsignore can be put into the svn:ignore
> property with the same results.
That's not entirely true. We don't support the '!' "reset" indicator
that cvsignore handles.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: ignoring files
Posted by Marcin Gil <mg...@vernet.pl>.
On Tue, 21 Oct 2003 20:42:09 +0200
Christophe Labouisse <ga...@tigris.org> wrote:
>
> I'm not sure to understand your problem. You are looking for something
> like the .cvsignore mechanism ? Well the svn:ignore property is what
> you need. If you want to exclude *.exe from version control in the
> current directory you only have to do:
> svn propset svn:ignore '*.exe' .
>
> or:
> svn propedit svn:ignore .
>
That's the thing!
While browsing list's archives, I've read
that svn:ignore property is only for protecting against recursive
commits.. Now I see it suits me.
Thanks!
--
Marcin Gil
email# mgil : vernet pl | GaduGadu ID# 185057
JID# dentharg : chrome pl |
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: ignoring files
Posted by Christophe Labouisse <ga...@tigris.org>.
On Tue, 21 Oct 2003 20:10:53 +0200
Marcin Gil <mg...@vernet.pl> wrote:
> Is there something like cvsignore (and .cvsignore) in Subversion.
> Pre-commit-hooks can exclude files for the whole repository,
> while something like (.)svnignore could exclude files
> from just a dir or from a users working copy..
I'm not sure to understand your problem. You are looking for something
like the .cvsignore mechanism ? Well the svn:ignore property is what you
need. If you want to exclude *.exe from version control in the
current directory you only have to do:
svn propset svn:ignore '*.exe' .
or:
svn propedit svn:ignore .
Everything you'd put into a .cvsignore can be put into the svn:ignore
property with the same results.
--
Le cinéma en Lumière : http://www.lumiere.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org