Installing and Using Tortoise Subversion: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
I put up an old version of OpenQM on subversion at http://openqm.neosys.com/openqm.
On windows download and install the superb tortoise svn client from http://tortoisesvn.tigris.org/
On windows download and install the superb tortoise svn client from http://tortoisesvn.tigris.org/
   
   
Line 8: Line 6:
#open it
#open it
#right click empty space and choose SVN Checkout
#right click empty space and choose SVN Checkout
#in "url of repository" enter http://openqm.neosys.com/openqm/trunk to get the "current" version or http://openqm.neosys.com/openqm to get all possible branches and versions (there are none at the moment)
#in "url of repository" enter svn checkout https://exodusdb.googlecode.com/svn/trunk/


You can use your browser to browse those urls too but that isnt the objective here.
You can use your browser to browse the subversion url too but that isnt the objective here.
 
Command line checkout is like this:
 
svn checkout https://exodusdb.googlecode.com/svn/trunk/ exodus


=== Committing ===
=== Committing ===
   
   
*after making any changes right click on your new folder and choose Commit
*after making any changes right click on your new folder and choose Commit
*files you delete are not deleted on the repository - you have to use repo browser below to do that
*new files you want to add to the repo have to be ticked during Commit.
*new files you want to add to the repo have to be ticked.
*You cannot commit files that other people have updated since you got them - use Update to resolve co-edits first
*You cannot commit files that other people have updated since you got them - use Update to resolve before
 
=== Getting other peoples commits ===
=== Getting other peoples commits ===
   
   

Latest revision as of 00:10, 11 May 2011

On windows download and install the superb tortoise svn client from http://tortoisesvn.tigris.org/

Getting the initial files

  1. create a folder
  2. open it
  3. right click empty space and choose SVN Checkout
  4. in "url of repository" enter svn checkout https://exodusdb.googlecode.com/svn/trunk/

You can use your browser to browse the subversion url too but that isnt the objective here.

Command line checkout is like this:

svn checkout https://exodusdb.googlecode.com/svn/trunk/ exodus

Committing

  • after making any changes right click on your new folder and choose Commit
  • new files you want to add to the repo have to be ticked during Commit.
  • You cannot commit files that other people have updated since you got them - use Update to resolve co-edits first

Getting other peoples commits

  1. right click on your folder and choose Update - you will get diffs to resolve any conflicts with changes you made

To manage the repository

  1. Right click anywhere and choose Subversion, Repo browser.
  2. You can cut and paste files, folder etc. (all smoke and mirrors they are not actually copied) Branches and versions are just copied folders

Documentation

  • right click desktop, tortoisesvn, help
  • http://svnbook.red-bean.com/ - includes a reorientation appendix for CVS users
  • this is the very basics, there are many many many useful features