Free Software Server Environment : SubVersionBranchesAndTags

HomePage :: Categories :: PageIndex :: RecentChanges
Search this site: FSSE.INFO is produced by "osde8info" :

Subversion Copies / Tags / Branches

first create top level SVN project directory structure of

branches
tags
trunk


tags
copy creates a copy / tag / branch
$ svn copy http://my.svn/myproject/trunk/myproject http://my.svn/myproject/tags/yy-mm-dd -m "version yy-mm-dd"


branches
if something is modified (co/ci) in that copy / tag / branch it "becomes" a branch !
$ svn copy http://my.svn/myproject/trunk/myproject http://my.svn/myproject/branches/yy-mm-dd -m "branch yy-mm-dd"


merge
merge trunk with branchs into local copy which you will then need to commit !
$ svn merge -r1000:1010 http://my.svn/myproject/trunk/myproject  http://my.svn/myproject/branches/yy-mm-dd


lastest revision/version
latest checked in revision/version
$ svn log --limit 1 -q


current local revision/version
$ svnversion



REFERRERS
SubVersion

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0186 seconds