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

Experiences with export of single files

From: <Alexander.Merten_at_HOOD-Group.com>
Date: Wed, 16 Apr 2008 16:30:09 +0200

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

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

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

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
Result: A D:\folder\0_Hello.txt
Export complete.


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

******* Veranstaltungen und Trainings ************
Termine zu aktuellen Trainings im RM&E unter

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.

Amtsgericht München
HRB 139 127
Geschäftsführer: Colin Hood, Rupert Wiebel
Received on 2008-04-16 16:30:39 CEST

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