Concerning Re: Proposal: svn:temporary propert
John Peacock wrote on 18 Dec 2003, 9:34, at least in part:
> Folker Schamel wrote:
>
> > We've encountered the following problem:
> > Sometimes directories contain temporary files,
> > e.g from compiling.
>
> I don't understand; temporary files, i.e. from compiling, do not belong in the
> repository in the first place. If they are never checked in, svn will not
> notice if they change or are deleted.
>
> Maybe I am not understanding what you are describing?
John,
as far as I understand those temp files are not in the repository but
leftovers of other action and normally ignored by SVN, through
whatever setting. However, if for some reason the folder is deleted
in SVN then those leftover temp files are standing in the way: SVN
does not know them, so it does not delete them. And since it does
not delete them, the folder is not empty and cannot be deleted.
I would say that SVN's message about "modified files" is
misleading indeed. Maybe it could say, based on the ignore
property/setting in config "Cannot delete the folder xyz for it still
contains files not kept under version control or set to be ignored".
Going one step further and taking up Folker's suggestion of a
temporary property a sublist of ignored files (defining only temp
files) could be used for this sort of action/message: "Shall SVN
delete temporary files left over in folder xyz?". In case the folder
still contains further files not under versioning beyond the temp files
the warning above should follow. That way SVN would not leave
behind its good philosophy of not deleting things it does not know
of, but lead the user in taking the right action with the least worries.
Jan Hendrik
---------------------------------------
Freedom quote:
If some among you fear taking a stand
because you are afraid of reprisals
from customers, clients, or even government,
recognize that you are just feeding the crocodile
hoping he'll eat you last.
-- Ronald Reagan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 18 18:30:25 2003