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

Re: Why doesn't svn use /tmp for temporary files ? 1 of 10) (subversion: message 4 of 10)

From: Matthew Exon <matthew_exon_at_yahoo.com.au>
Date: 2006-05-12 08:55:33 CEST

Just getting back to my original point, I could reformulate the issue so
it sounds more like a bug that could be fixed:

1) Subversion shouldn't commit to the repository temporary files that it
created.

and/or...

2) Subversion shouldn't create temporary files in a directory it's busy
importing.

Both of those are detectable, incorrect situations. I'm sure checking
for either of these would be pretty hairy (you'd need to have a global
data structure listing all the temporary files it currently has open;
yuck), but it's still a desirable feature.

Garrett Rooney - rooneg@electricjellyfish.net wrote:
> On 5/11/06, subversion.mexon@spamgourmet.com
>
>> OK. But in the case where I specify the full paths, subversion has no
>> idea which filesystem I'm in. I could have been in /tmp, in which case
>> it would have written there anyway. So writing the temporary file in
>> the CWD isn't a guarantee that it'll be atomic, right?
>
> Nope, but it's more likely to be correct that /tmp is.

Possibly, I suppose. I'd personally say that you should only go against
standard behaviour if by doing so you can eliminate the problem
completely. But it's a judgement call either way.

>> Anyway, is there a known bugs page for Subversion? You know, like the
>> known bugs section in manpages, for "bugs" that can't or shouldn't be
>> fixed. This seems like a candidate: annoying and counterintuitive, but
>> not incorrect.
>
> There's the issue tracker, but I don't know of any other page that
> does precisely what you're asking. That's why we ask people to bring
> up questions like this on the mailing lists.

Does the issue tracker have a "won't fix" option? That'd do, at a
pinch. I do think tracking this information is valuable.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 12 08:56:53 2006

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.