SVN Version Control System

From MemHT Wiki

Jump to: navigation, search

MemHT Portal has finally a version control system (SVN). It can be browsed (read only privs) by anyone on the following address:

SVN url:

https://memht.googlecode.com/svn/trunk

Browse:

http://code.google.com/p/memht/source/browse/trunk

To access it with writing permissions, contact mem by PM indicating your google mail address.


First steps with TortoiseSVN (Developers only)

1. Download and install TortoiseSVN (it's one of the simpliest programs, but not the only one)

http://tortoisesvn.net/downloads

2. Create a folder called SVN, where the MemHT data will be downloaded, and open it

3. Press the right button of your mouse and select "SVN Checkout",


Image:Svn_0.jpg


URL of repository: https://memht.googlecode.com/svn/trunk (do not forget the https)
Checkout directory: Select the target folder (step 2)

4. Press OK and wait untill the program finishes to download all files from the SVN

Image:Svn_1.jpg

This should be the folder situation at the end (the image on the left):


The green bullet means that there are no modified files in the folder (When you modify or add at least one file, it will be highlighted with a red bullet)

IMPORTANT: If you have set hidden files to be visible, you will be able to see a folder called .svn, it's important not to touch any file inside, just forget it.

Remember to check for modifications before editing files (or you could modify a file that has been updated in the meantime)


Image:Svn_3.jpg


Press "Check repository" to get the list


Image:Svn_3b.jpg


If your SVN folder is not up to date, select "SVN Update" as you can see in the following image


Image:Svn_6.jpg


When finished to modify or add new files, TEST THEM!

To upload files to the SVN database, press the right button of your mouse and select "SVN Commit"


Image:Svn_4.jpg


The following window will show you the list of all modified files:

Image:Svn_5.jpg


Press "OK" and wait untill the process is finished

Notes:

  • Update (check for modification) always the SVN folder before modifying files
  • Test always modified files before uploading them
  • Comment always what have you done when uploading files


Image:Globe.png Languages العربيةBahasa IndonesiaBosanskiБългарскиDanskDeutschEnglishEspañolفارسیFrançaisGalegoעבריתItalianoMagyarМакедонскиNederlandsPortuguêsРусскийСрпски/SrpskiSvenskaTürkçeУкраїнськаTiếng Việt
Personal tools