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

Why doesn't svn use /tmp for temporary files ?

From: <subversion.mexon_at_spamgourmet.com>
Date: 2006-05-11 09:22:13 CEST

Just a question, because I tripped over this and found it very
irritating. I've never used Subversion before, but have used CVS a lot.
 I was going through the tutorial, importing a simple project, but
instead of using -m to put a comment on the command line, I left it off
so that it would bring up an editor (I'm a verbose guy, I like
multi-line comments). Subversion appears to use the CWD to hold the
comment file in this situation, meaning:

1) If I am importing the local directory, ".", I get a spurious file
svn-commit.tmp added to the repository. Googling online, I found
hundreds of "Deleted spurious svn-commit.tmp file" commit lines in
various people's repositories, so this problem seems pretty widespread.

2) I can't be in the root directory and run "svn import
~/temp/myprojfect file:///~/repository/myproject", because I don't have
permission to create svn-commit.tmp.

So why doesn't Subversion behave like CVS, and indeed every other unix
program, and use /tmp for temporary files? It seemed pretty
counterintuitive.

It's svn version 1.1.4. I expected this to be an FAQ, but I couldn't
see anything there.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 11 17:17:56 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.