Using and running Tortoise svnsync in Windows via command line

Brett

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?

Sameer Singh

When you install TortoiseSVN you are given the option to install the Subversion binaries as well:

TortoiseSVN custom installation

Once you do that, you will see svnsync.exe in the installation folder:

Location of the SVN binaries installed by TortoiseSVN

As long as you have C:\Program Files\TortoiseSVN\bin in your PATH variable, you will be able to call svnsync.exe from the command-line:

TortoiseSVN in PATH variable

(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.)

svnsync working from the C:\ path in the command-line

Hope this helps.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Running jupyter via command line on Windows

Running single test from unittest.TestCase via command line

Setting the JVM via the command line on Windows

Using TortoiseSVN via the command line

Running php via command line

Running tsc from the Windows command line

Running jmeter .jmx tests locally using windows command line giving illegal argument exception

Running compiled Java Selenium tests (with dependencies) using TestNG xml via command line

Running Python scripts through the Windows Command Line

Using gunzip on Windows in command line

Using runsettings file when running NUnit tests via command line

Running a powershell command using full path and arguments from command line

Send file URL and args to (running) macOS app via command line

Changing Windows process priority via command line

Running LaTeX via command line on Ubuntu server

Start programs via command-line, but only if not already running

Windows 7/10 command line show running Applications/windows

Using pipe in Windows Command line

Running wordcount.jar on hadoop in windows using command line

How to find out if httpd is running or not via command line?

Downgrade Windows 10 via command line?

Connect to Untrusted VPN Server using Cisco AnyConnect via command line in Windows

Running Windows 7 Virtualbox on Ubuntu command Line

Change Windows sound volume via the command line

Running jar via command line : classnotfound exception on ONE desktop

running command line using matlab

Package a maven project via Windows command line

Running Java/Selenium/Cucumber tests via command line

Need help in running a command involving multiple single and double quotes on windows command line via bsub