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

http://subversion.tigris.org/issues/show_bug.cgi?id=767

From: Jon Scott Stevens <jon_at_latchkey.com>
Date: 2004-05-07 17:47:28 CEST

I would post this to the issue tracker, but I'm waiting for the
observer role.

I noticed that the current behavior (with 1.0.2) is to create a file
called 'svn-commit.tmp' in the directory where the commit is happening.

The problem with this is that if I open another terminal and want to do
another commit in the same directory while a commit is previously in
progress, then I'm going to get a filename clash since the name isn't
unique.

Obviously not a huge problem for most people, but it is something to
note that CVS does this process properly I suspect by using something
like tempnam().

I suspect that the hard coded string "svn-commit" used in

        clients/cmdline/util.c:493

...is the problem...

I'm not sure why a line like the one on:

        clients/cmdline/util.c:151

...isn't used there.

p.s. wow. it's been a long ass time since I have seen someone use
"goto" in code.

jon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 8 02:18:04 2004

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.