To work on a project, SVN is best recommended for sub version. But at the beginning to work with SVN, some may fall in trouble to understand the basic terms. For those, here are some basic description about them:
IMPORT: To add a new project to svn repository(database).
EXPORT: Retrieve the project from svn db without svn meta data files, that means the final versions of the project.
CHEKOUT: to get a latest updated working copy of source code of the project.
UPDATE: to get the latest update from the server to your working copy of files. This is important when working on same source file by many coders. missing of update can cause source conflicting...
COMMIT: to save your changes on server. You should have your source code version with latest version before making changes & commit to avoid source conflict.
To work with SVN, you requires a server that if you are working alone or another pc on network. SVN supports many ways(http,ftp,https,LAN)to work with. If you are a .NET developer, then you can also use visualSVN with SVN for more comfort, although its not free while SVN is free. Basic steps to work are as follows:
* Download & install SVN from here http://tortoisesvn.net/downloads.
* Make a folder as Repository(that may also be called as a Database).
* add the required files to subversion using right mouse click options.
* use commit option to commit the files.
* Periodically update & commit of working files.
to work a single file among multiple coders, use 'get lock' option befor changing & commiting a change of yours. if you want to use a previous version, use 'update to revision', 'show log', 'revert changes' etc options that matches your requirements. You can also use tortorise CVS which is the very basic version of SVN.
If you are interested to know more details in deep & want to expertise it very fast, you can buy a book on this & read that through. here is one that I recommend most that you can buy from amazon:
Subscribe to:
Post Comments (Atom)










0 comments:
Post a Comment