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

Re: Proposal: svn:temporary property

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2003-12-18 21:35:19 CET

On 2003-12-18 13:05:15 +0100, Folker Schamel wrote:
> We've encountered the following problem:
> Sometimes directories contain temporary files,
> e.g from compiling.
> If the dirctory is deleted on the svn server,
> then the users get a error message like
> "directory contains modified files".
>
> This error is correct, but confusing, because the user didn't change
> anything explicitely in this directory.

Well, he did: the user should know that a compilation changes the
directory. Well, if you find a better error message...

> Proposal:
> A svn:temporary property, which works in the same way
> as svn:ignore property, but silently deletes these files
> if the directory is deleted.

I think this is dangerous for the following reason. The user who decided
what is temporary is not necessarily the user who added temporary files.
So, some important "temporary" files created by a user A in his WC could
be deleted because user B decided to (possibly not on purpose). And
contrary to versioned files, when an unversioned file is deleted, it
is really deleted. So, if this is implemented, honoring svn:temporary
should be a user choice, disabled by default.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 18 21:36:12 2003

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

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