Installing and Using Tortoise Subversion: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
I put up an old version of OpenQM on subversion at http://openqm.neosys.com/openqm for people to play with. No authorisation is required to download, commit or manage the repo. Do what you like with it. Like wikipedia, all previous versions remain and anyway this is just a sandbox.
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/
 
=== Getting the initial files ===
=== Getting the initial files ===
 
#create a folder
#create a folder
#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 svn checkout https://exodusdb.googlecode.com/svn/trunk/


to get the "current" version
You can use your browser to browse the subversion url too but that isnt the objective here.
http://openqm.neosys.com/openqm/trunk


Or to get all possible branches and versions (there are none at the moment)
Command line checkout is like this:


  http://openqm.neosys.com/openqm
  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 ===
 
#right click on your folder and choose Update - you will get diffs to resolve any conflicts with changes you made
#right click on your folder and choose Update - you will get diffs to resolve any conflicts with changes you made
 
=== To manage the repository ===
=== To manage the repository ===
 
#Right click anywhere and choose Subversion, Repo browser.
#Right click anywhere and choose Subversion, Repo browser.
#You can cut and paste files, folder etc. (all smoke and mirrors) they are not actually copied. Branches and versions are just copied folders
#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 ===
=== Documentation ===
 
*right click desktop, tortoisesvn, help
*right click desktop, tortoisesvn, help
*http://svnbook.red-bean.com/ - includes a reorientation appendix for CVS users
*http://svnbook.red-bean.com/ - includes a reorientation appendix for CVS users
*this is the very basics, there are many many many useful features
*this is the very basics, there are many many many useful features

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