I have a local repository and I have just signed up to unfuddle
and want to sync my local repository to the new one I have created on there.
I was told to run the following command:
svnsync init --username USERNAME http://username.unfuddle.com/svn/username-rep http://SOURCE_REPO_URL
Firstly, I assume I can remove the username stuff if the source repository doesn't require authentication?
Secondly, when I run that command my system doesn't recognize it. I assumed svnsync
needed to be added somewhere in Windows so that it could be run via it's name only (think the correct term is an environment variable
)?, but not only do I not know how to do that I don't know what program to add...... I cannot find any svnsync.exe
or anything locate din my TortoiseSVN
folder.
What do I need to do here?
When you install TortoiseSVN you are given the option to install the Subversion binaries as well:
Once you do that, you will see
svnsync.exe
in the installation folder:As long as you have
C:\Program Files\TortoiseSVN\bin
in yourPATH
variable, you will be able to callsvnsync.exe
from the command-line:(You can view your PATH variable thus (on Windows 7): Start
->
right-click Computer->
Properties->
Advanced system settings->
Environment variables.... DO NOT overwrite whatever is there - simply append the path to TortoiseSVN if it isn't already there. More info here.)Hope this helps.