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

Re: [test fail] merge_tests.py 12 / r39114

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 3 Sep 2009 23:49:41 +0100

On Fri, Sep 04, 2009 at 12:35:31AM +0200, Neels Janosch Hofmeyr wrote:
> svn: Can't move '/tmp/tempfile.3.tmp' to
> 'svn-test-work/working_copies/merge_tests-12.other/A/theta': Invalid
> cross-device link

> <hwright> but with centralized metadata, we won't be able to guarantee
> same-device temp areas anyway
> ...
> <hwright> I don't know what we're using the temp area for in that context,
> but I'd assume we have a way of getting around such things?

In svn patch, we create a temporary file which will be renamed
on top of a target file in the exact same directory as the target
file itself to avoid cross-device renaming issues.

I guess that's the best way to handle this problem.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2390848
Received on 2009-09-04 00:50:23 CEST

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

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