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

svn export with symbolic link failes if link destination is not yet exported

From: Kai-Uwe Humpert <kai-uwe.humpert_at_infopark.de>
Date: 2004-10-15 15:45:23 CEST

Hi,

yesterday, somebody of our crew used the new feature "check in symbolic
link". This worked fine, until the nightly build started an "svn export".

This svn export failed with the following reason:

svn: Can't set access time of '<path to symbolic link>"

Svn export successfully exported other symbolic links in the same run.
The difference for the failed link was, that the file pointed to by
the link was not yet exported.

This is the file tree structure

r badDestination
r goodDestination
l subDir/goodDestination -> ../goodDestination
l subDir/badDestination -> ../badDestination

and the relevant part of the log looks like this

A goodDestination
A subDir/goodDestination
svn: Can't set access time of 'subDir/badDestination'

There was no "A badDestination" in the log (maybe there was
"A subDir/badDestination", but that should make no difference)

I guess that what happened is, that
a) there is no order in checkout files (like, in order of creation,
   but this would'nt really fix this problem)
b) the checkout tried to modify the linked file's access time
   instead of the access time of the link (if symbolic links have
   access times at all)

I used

  $> svn export svn://....

Our current svn version is

  $> svn --version
  svn, Version 1.1.0 (r11180)

Kai-Uwe Humpert

PS: A question: Even in times where disk space is cheap, is there any
   way to have a 'svn update'able (read-only) repository without all
   the copies of the files? This would save a lot of time compared to
   'svn export' and a half the disk space compared to 'svn checkout'.

-- 
Infopark AG, Kai-Uwe Humpert, http://www.infopark.de/
Kitzingstr. 15, D-12277 Berlin, Tel +49 30 747993-0, Fax -93
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 15 20:12:25 2004

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.