Arrabi
Arrabi

Reputation: 3778

How to do SVN Update on my project using the command line

How do I SVN Update my project using the command line?

Then I will manage to call these command lines from C#.

I'm a .NET developer, and I'm using TortoiseSVN.

Upvotes: 44

Views: 129277

Answers (4)

AndreKR
AndreKR

Reputation: 33697

svn update /path/to/working/copy

If subversion is not in your PATH, then of course

/path/to/subversion/svn update /path/to/working/copy

or if you are in the current root directory of your svn repo (it contains a .svn subfolder), it's as simple as

svn update

Upvotes: 69

Arrabi
Arrabi

Reputation: 3778

I think I got it. It's:

"SVN Client Path"  /command:update / path:"My folder path"

Upvotes: 12

Aditya
Aditya

Reputation: 4396

If you want to update your project using SVN then first of all:

  1. Go to the path on which your project is stored through command prompt.

  2. Use the command SVN update

That's it.

Upvotes: 7

Diego Sevilla
Diego Sevilla

Reputation: 29021

From the command line it would be just:

svn update

(in the directory you've got a copy of a SVN project).

Upvotes: 19

Related Questions