Thursday 2 July 2009

SVN

  • AnkhSVN is a Subversion SourceControl Provider for Visual Studio
  • TortoiseSVN is a really easy to use Revision control / version control / source control software for Windows.
  • VisualSVN
  • SvnSpam: produces a nicely formatted HTML e-mail message containing the (universal) diff, log message and versions of files involved in an svn commit.
Quickest Way to Create a Fresh Branch Locally:

When needed to create a new tag or branch from the latest version of trunk (rather than retrieving one of the old ones), it doesn't have to download everything and quickest way would be like (perhaps in 3mins):

1) making sure trunk has no file which is in a conflict or checked out status

2) making sure trunk is up-to-date with svn

3) Use svn Branch command to create a new branch/tag on svn

4) Make a local copy of the trunk (which is up-to-date) to a local branch folder

5) Use svn Switch command to map the newly created local branch folder to point to svn branch folder

6) get a quick update
Tutorials:
Glossaries:
  • Check out
  • Export
  • Import
  • Revision
  • Trunk: this is where the latest version of your main code is located
  • Branch: this is where you bug fix the released versions; then you will have to merge back into trunk
  • Tag: this is where you put your release versions of your application
  • Repository
  • Merge
  • Switch: make a local folder to point to a svn url

Windows Commands
Get Latest

CD C:\Program Files\TortoiseSVN\bin\
START TortoiseProc.exe /command:update /path:"C:\Svn\MyTeamProject\trunk\" /closeonend:1


No comments: