You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Al...@HOOD-Group.com on 2008/04/16 14:30:09 UTC

Experiences with export of single files

Hi all,

I just wanted to let people know about my experiences with exporting 
single files from subversion.
Although the solution is in the documentation if you know what you are 
looking for, it took me quite long to isolate the problem. The warning 
messages gave me little clue about what subversion was trying to do here. 
Since even google didn’t come up with a good hit on this problem it might 
just be a good information for some people.

Trying the following did not succeed:

Command:        svn export 
file:///D:/folder/someSvnRepos/reposFolder1/Hello.txt d:\
Result:         svn: Can't move 'D:.tmp' to 'D:': The parameter is 
incorrect.


If you do not export to a drive but to a sub-folder, the error message 
changes.

Command:        svn export 
file:///D:/folder/someSvnRepos/reposFolder1/Hello.txt D:\folder
Result:         svn: Can't move 'D:\folder' to 'D:\folder': Access is 
denied.


Changing slashed didn’t do any good (as was not expected either ;-)

Command:        svn export 
file:///D:/folder/someSvnRepos/reposFolder1/Hello.txt D:/folder
Result:         svn: Can't move 'D:\folder.2.tmp' to 'D:\folder': Access 
is denied.


Finally the trick is to understand that export actually really exports 
INTO the target location. So a file needs to be exported to a file and not 
to a folder, while a source folder's content is exported into the target 
folder, without creating the folder that is being exported itself.

Command:        svn export 
file:///D:/folder/someSvnRepos/reposFolder1/Hello.txt 
D:/folder/0_Hello.txt
Result:         A    D:\folder\0_Hello.txt
Export complete.

Regards,
Alexander
__________________________________________________________

Mehr als 20 Jahre Erfahrung in RM&E - 
Requirements Management & Engineering 

******* Veranstaltungen und Trainings ************
Termine zu aktuellen Trainings im RM&E unter 
http://Schulungsprogramm.HOOD-Group.com/

The information in this e-mail (which may include files transmitted with it) 
is confidential and is intended for the addressee(s) named above only. If you 
are not named as an addressee you are to maintain confidentiality and must notify 
the author immediately, destroy any copies and delete the e-mail from your computer.

The information in this e-mail is not to be relied upon by any person other than 
the addressee(s) except with prior written approval. If no such approval is given 
the author will not accept any liability (in negligence or otherwise) arising from 
any third party acting on such information.

HOOD GmbH
Amtsgericht München
HRB 139 127
Geschäftsführer: Colin Hood, Rupert Wiebel