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

RE: [patch]: make svn delete remove the file

From: Mark <cm_mark_at_yahoo.com>
Date: 2002-04-23 03:59:14 CEST

--- Sander Striker <striker@apache.org> wrote:
> > From: William Uther [mailto:will+@cs.cmu.edu]

> > How would you have 'svn rm' work on a directory that has unversioned files
> > in it? There are three obvious options I can see:
> >
> > I) Just Do It?. This possibly loses info - probably the wrong thing to do.
> With --force.

One should always be allowed to shoot themselves in the foot if they
specifically choose to do so.

> > II) Error - treat it the same as as a modified file.
> Normal usage. To quote Philip from his text above:
> "This applies both to files and file properties,
> and also to directories, in which case the children of the directory
> are checked as well."

Sure, actions/effects of a command on a directory should should mirror as much
as possible that actions/effects of the same command on a file. So if something
in the directory structure is modified, the directory should be treated as

There might be two possible actions to take when finding unversioned files in
the directory to remove.

1) If subversion has the equivalent to cvsignore, any ignored files should not
prevent the removal of the directory or even flag a warning/error, this is
probably already a given.

2) If a non-versioned file is not ignored, then the directory should be
considered to be in non-modified but non-removable state (if no versioned files
are modified in it). Users do keep copies of files under different names for
some reason, sometimes, but they can use the above --force option.

(I hope the ignore pattern list is in a config file somewhere, with a default
one provided)

Hi all, I have download and installed apache2 and the subversion server. Its
looking great.


Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 23 04:00:12 2002

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