Difference between revisions of "Subversion"

From aHuman Wiki
Jump to: navigation, search
(Automated page entry using MWPush.pl)
(Automated page entry using MWPush.pl)
Line 6: Line 6:
 
----
 
----
  
Subversion is a version control system.  
+
Subversion is a version control system.
 
Also it is an attempt to improve CVS at least for:
 
Also it is an attempt to improve CVS at least for:
  
Line 12: Line 12:
 
* allow directory have a version
 
* allow directory have a version
 
* fast creation of branches/tags
 
* fast creation of branches/tags
* allow renaming with saving change history  
+
* allow renaming with saving change history
  
 
Unfortunately it also has drawbacks if compared to CVS:
 
Unfortunately it also has drawbacks if compared to CVS:
  
 
* each file has version of total repository, not own version number
 
* each file has version of total repository, not own version number
* branches do not have clear version numbers  
+
* branches do not have clear version numbers
  
 
'''To Do'''
 
'''To Do'''
  
Subversion server is installed under google authority.  
+
Subversion server is installed under google authority.
 
Development environment should contain Subversion client. Steps to setup console client and optionally GUI client:
 
Development environment should contain Subversion client. Steps to setup console client and optionally GUI client:
  
 
   #. Install console Subversion client Slik SVN 1.6.2 from http://www.sliksvn.com/en/download
 
   #. Install console Subversion client Slik SVN 1.6.2 from http://www.sliksvn.com/en/download
   #. (optional) Now you can download sources (but will not be able to change them) using command line (as a project member you will you another download command):  
+
   #. (optional) Now you can download sources (but will not be able to change them) using command line (as a project member you will you another download command):
 
<pre>
 
<pre>
 
svn checkout http://usvn.ahuman.org/svn/ahengine/trunk_HLAv3/ ahuman-read-only
 
svn checkout http://usvn.ahuman.org/svn/ahengine/trunk_HLAv3/ ahuman-read-only
 
</pre>
 
</pre>
   #. (optional) Install TortoiseSVN 1.6.2 from http://tortoisesvn.net/downloads if you want to look into version information using Windows Explorer  
+
   #. (optional) Install TortoiseSVN 1.6.2 from http://tortoisesvn.net/downloads if you want to look into version information using Windows Explorer
 
   #. To download code to permanent storing or changes, use command, described at http://code.google.com/p/ahuman/source/checkout, where google will provide you with a link to the page containing your personal password
 
   #. To download code to permanent storing or changes, use command, described at http://code.google.com/p/ahuman/source/checkout, where google will provide you with a link to the page containing your personal password
  

Revision as of 08:34, 22 June 2015

Setting up Subversion

@@Home -> DevelopmentEnvironment -> Subversion

sliksvn.jpg


Subversion is a version control system. Also it is an attempt to improve CVS at least for:

  • implement transactional commit
  • allow directory have a version
  • fast creation of branches/tags
  • allow renaming with saving change history

Unfortunately it also has drawbacks if compared to CVS:

  • each file has version of total repository, not own version number
  • branches do not have clear version numbers

To Do

Subversion server is installed under google authority. Development environment should contain Subversion client. Steps to setup console client and optionally GUI client:

 #. Install console Subversion client Slik SVN 1.6.2 from http://www.sliksvn.com/en/download
 #. (optional) Now you can download sources (but will not be able to change them) using command line (as a project member you will you another download command):
svn checkout http://usvn.ahuman.org/svn/ahengine/trunk_HLAv3/ ahuman-read-only
 #. (optional) Install TortoiseSVN 1.6.2 from http://tortoisesvn.net/downloads if you want to look into version information using Windows Explorer
 #. To download code to permanent storing or changes, use command, described at http://code.google.com/p/ahuman/source/checkout, where google will provide you with a link to the page containing your personal password

Possible Enhancements

In the current development environment IDE is detached from version control client. It is not good enough. Possible actions are - find Subversion plug-in for Visual C++ or upgrade VC++ to Eclipse where I know such a plug-in exists.