[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: Edward S. Marshall <esm_at_logic.net>
Date: 2003-03-05 21:27:40 CET

On Wed, Mar 05, 2003 at 03:02:34PM -0500, Michael Price wrote:
> If I type 'svn add baz' then I want baz added regardless of whether or
> not its being "ignored". Ignores shouldn't override explicitly added
> files.

A little tap on the shoulder wouldn't be a bad thing here, though. Just
like "svn commit -m commit.msg" infers that you probably picked the wrong
command line option (if a file commit.msg exists) and requires a --force
to make sure you really didn't just make a typo, a simple warning here
wouldn't be an entirely bad thing. Not a --force requirement, but just
a visual warning that the file you just added matched the svn:ignore
property (since if it's not what you meant, you can just svn revert it).

"svn pset svn:ignore" could do something similar when files matching the
glob are already a part of the repository/wc.

> I know what I'm doing. The commands I'm running shouldn't second guess
> me.

Of course, but surely someone committing a file matched by svn:ignore is
a corner case where raising a visual warning might be appropriate? Typos
happen. Guess how I found out about the "svn commit" behavior? ;-)

-- 
Edward S. Marshall <esm@logic.net>
http://esm.logic.net/
Felix qui potuit rerum cognoscere causas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 5 21:28:27 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.