Ed James
Ed James

Reputation: 10607

Update to latest version from command line

Is there an SVN command-line utility that allows you to update a given directory / repository to the latest version?

I would like to be able to remotely update our development server without having to go into remote desktop etc., as there are often times where all the RD terminals are in use, if it was command line I could do it via SSH, for example.

Cheers, Ed

Upvotes: 15

Views: 38723

Answers (5)

sbi
sbi

Reputation: 224069

It's called "svn.exe":

svn up .

will update the current folder.

You can download a pre-built Windows command line client without registration from slik or one with registration from collabnet.

Upvotes: 8

TigerTiger
TigerTiger

Reputation: 10806

svn update/up

svn update or svn up. This command syncs your local sand box with the server. If you have made local changes, it will try and merge any changes on the server with your changes on your machine.

You can view some basic commands here

Upvotes: 6

tangens
tangens

Reputation: 39733

Have a look at collabnet subversion.

Upvotes: 3

Arthur Reutenauer
Arthur Reutenauer

Reputation: 2632

Simply type svn update [name-of-directory], or cd to that directory and type svn update there.

Upvotes: 11

slikts
slikts

Reputation: 8158

There is a command-line client for Subversion. You can see the usage options it offers if you type svn help. The one for updating would be simply svn up.

Upvotes: 13

Related Questions