lunedì 17 settembre 2012

Export da svn con automation




How can i use svn export command to get a single file from the repository.
I try this
svn export e:\repositories\process\test.txt c:\
but I get this:
svn: e:\repositories\process is not a working copy
share|improve this question

feedback

2 Answers

up vote12down voteaccepted
Guessing from your directory name, you are trying to access the repository on the local filesystem. You still need to use URL syntax to access it:
svn export file:///e:/repositories/process/test.txt c:\test.txt
share|improve this answer
feedback
You don't have to do this locally either. You can do it through a remote repository, for example:
svn export http://<repo>/process/test.txt /path/to/code/
There is a pretty good scenario based tutorial here for these kind of situations:http://www.duchnik.com/tutorials/vc/svn-command-reference
share|improve this answer

Nessun commento: