User Tools

Site Tools


old:useful_svn_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
old:useful_svn_commands [2015/08/16 23:19] – external edit 127.0.0.1old:useful_svn_commands [2017/09/12 05:28] – [Checking out an older revision from SVN] anupama
Line 76: Line 76:
 ====Helpful svn commands==== ====Helpful svn commands====
 <code> svn info</code> <code> svn info</code>
 +Gives info about the current checkout, such as the repository URL and the last revision at the current SVN folder level. Beware that subfolders may be a different SVN revision number, for example if you svn updated them more recently. So in that case, do svn info at any subfolder's level to get its revision version.
 <code> svn switch</code> <code> svn switch</code>
 <code> svn status</code> <code> svn status</code>
Line 171: Line 172:
 a. In general, you would do: a. In general, you would do:
 <code>/my/local/path/>svn update -r {2008-04-26}</code> <code>/my/local/path/>svn update -r {2008-04-26}</code>
 +(Or ''svn updated -r12345'', where 12345 is a revision number. For more revision formats, check the SVN manual online.)
  
 If there were conflicts, delete everyting and checkout the older version: If there were conflicts, delete everyting and checkout the older version:
old/useful_svn_commands.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1