betweenGo

Subversion Branching

by Frank Kim on Dec.18, 2007, under Subversion

Subversion branching and tagging is basically copying from one repository directory to another.

This article gives great instructions on how to branch and tag with subversion. This article is also good.

To compare branches you can simply do something like this svn diff [path] [path]. For example svn diff http://foo.com/branches/stable http://foo.com/trunk.

To merge from a branch to the trunk you can use svn merge like this. Note that you need to have the trunk checked

$ cd trunk
$ svn merge -r 3:4 svn+ssh://fkim@betweengo.com/home/fkim/svn/foo/branches/stable/doc/html doc/html


  • Share/Bookmark

Related posts:

  1. Subversion on Dreamhost
  2. Perforce Branching
  3. Newline problems with Subversion
  4. Implement RSA Authentication Under SSH
  5. HOWTO Stop Being Prompted For Password in TortoiseSVN

:

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!