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

Re: svn:ignore property ignored while adding files

From: Julian Fitzell <julian_at_beta4.com>
Date: 2003-03-05 22:48:57 CET

Michael Price wrote:
> Julian Fitzell writes:
> > > If we are going to use flags, it seems more intuitive to me to always
> > > honor svn:ignore unless some flag (--force?) is used.
> >
> > I have to weigh in strongly in support of this. Presumably you have
> > files being ignored in svn:ignore for a reason. If you really want to
> > override that, you can easily specify --force.
>
> Bah, Humbug. The only thing more annoying would be if '-i' was the
> default action for the 'rm' command. I typed the command line. I
> shouldn't have to "force" anything.

You also typed the command line to add the file to the svn:ignore
property (or somebody did). Didn't you know what you know what you were
doing then? If you know what you're doing when you add that file then
you should be able to indicate that you know what you're doing by either
specifying --force, or modifying svn:ignore. As Brian just pointed out
in another message, rm doesn't remove a file with the write bit removed
by default, because you already indicated that the file shouldn't be
modified. In this case you indicated that the file should be ignored
and svn should respect that until you tell it otherwise.

>
> > If we don't honour svn:ignore by default, I'm going to spend my time
> > removing generated files that other developers have checked in by
> > mistake even though I set up svn:ignore properly.
>
> Get new developers or make your hiring process more stringent.

A nice thought, but as you probably know, it is not always that simple.
    And even if we did, I'd still like to be able to "svn add *". Why
do you think I set the svn:ignore property? What the hell is the point
of setting it if I still have to make sure every command line I run
doesn't accidentaly include any of those files in the globs?

Not to mention when I do an "svn st" I won't even see them listed with
question marks (because they're being ignore) so I would logically
expect that "svn add *" is going to add all (and only) the files that
show up as unversioned in the status output.

Julian

-- 
julian@beta4.com
Beta4 Productions (http://www.beta4.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 5 22:51:59 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.