Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check out a particular version of code from SVN? [duplicate]

Tags:

svn

Possible Duplicate:
Checkout a specific revision from Subversion from the command line

How can I check out a particular version of code from SVN (Subversion)?

like image 920
SunnyShah Avatar asked Jan 20 '11 08:01

SunnyShah


People also ask

How do I checkout a specific version of svn?

If you want to write a script which requires no input, you should use the official Subversion command line client instead. checkout a working copy in REV revision: svn checkout --revision REV https://svn.example.com/svn/MyRepo/trunk/ svn checkout https://svn.example.com/svn/MyRepo/trunk/@REV.

How do I find previous versions in svn?

Using the latest versions of Subclipse, you can actually view them without using the cmd prompt. On the file, simply right-click => Team => Switch to another branch/tag/revision.

How do I find svn revision?

To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.

How do I diff two revisions in svn?

Display the differences between two paths. The ways you can use svn diff are: Use just svn diff'to display local modifications in a working copy. Display the changes made to TARGET s as they are seen in REV between two revisions.


1 Answers

What client are you using?

svn checkout svn://repository/path@123

or

svn checkout -r 123 url://repository/path

or

TortoiseProc.exe /command:checkout /rev:1234

like image 144
ajma Avatar answered Oct 02 '22 20:10

ajma