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

Re: Re: A couple of questions on revert and svn:ignore

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-09-15 22:04:00 CEST

On 9/15/06, Jiho Han <jhan@infinityinfo.com> wrote:
> Aha! That was going to be my next response, saying "but when I did 'svn
> add *', it still didn't ignore it!".
> But that explains it.

Depending on what your shell is, * very often is expanded by the shell
to list all files/directories. So while you didn't *type* the
filename, it was passed to svn.

> I guess there is no way around it... What I really want is for no one to
> be able to add files that end in .suo for example. I'd think that'd
> have to a server-side config somewhere though. And I didn't see
> anything like that except for hook scripts perhaps?

Correct, you'd have to do a hook script to reject the commit if it
contains a .suo file.
.

> -----Original Message-----
> From: Erik Huelsmann [mailto:ehuels@gmail.com]
> Sent: Friday, September 15, 2006 3:48 PM
> To: Jiho Han
> Cc: Andy Levy; users@subversion.tigris.org
> Subject: Re: A couple of questions on revert and svn:ignore
>
> On 9/15/06, Jiho Han <jhan@infinityinfo.com> wrote:
> > But it seems like this section from the book says otherwise:
> >
> > The svn:ignore property contains a list of file patterns which certain
>
> > Subversion operations will ignore.
> > Perhaps the most commonly used special property, it works in
> > conjunction with the globalignores run-time configuration option (see
> > the section called "Config") to filter unversioned files and
> > directories out of commands svn status, svn add, and svn import.
>
> But not when explicitly added to the list of files to commit... (which
> includes 'svn add *)
>
> HTH,
>
>
> Erik.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 22:04:44 2006

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