Difference between revisions of "Subversion Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Initializing a New Repository=
=Intro=
Subversion (svn) is a version control system initiated in 2000 by CollabNet Inc.  It is used to maintain current and historical versions of files such as source code, web pages, and documentation.  Its goal was to be a mostly-compatible successor to the widely used Concurrent Versions System (cvs) and provide a mush more integrated support for versioning of binary blobs.
 
Subversion is used by many open source projects.  Some well-known projects that use Subversion include: Apache Software Foundation, KDE, GNOME, Free Pascal, GCC, Python, Ruby, Samba and Mono.  SourceForge.net and Tigris.org also provide Subversion hosting for their open source projects.  Google Code and BountySource systems use it exclusively.
 
Subversion is released under the Apache License, making it free software.
 
* [http://en.wikipedia.org/wiki/Subversion_%28software%29 Wikipedia entry  on Subversion]
 
=Notes=
 
==High Level==
 
* [http://svnbook.red-bean.com/en/1.0/svn-book.html Subversion Book]
 
==Branches, Tags and Merging==
 
* [http://svnbook.red-bean.com/en/1.1/ch04s06.html Tags]
* [http://svnbook.red-bean.com/en/1.1/ch04s07.html Branching and Merging]
* [http://www.onlamp.com/pub/a/onlamp/2004/08/19/subversiontips.html Top 10 Subversion Tips for CVS Users]
* [http://www.germane-software.com/~ser/R_n_R/subversion.html A Novices Tutorial on Subversion]
* [http://www.linuxformat.co.uk/wiki/index.php/Subversion_-_Branches,_tags_and_mergers Branches, tags and mergers]
* [http://confluence.atlassian.com/display/FISHEYE/How+Tags+Work+in+Subversion How Tags Work in Subversion (Confluence!)]
* [http://www.visual-paradigm.com/highlight/svnbranch.jsp Branch and Tag Support in Subversion]
 
==External links==
 
*[http://subversion.tigris.org/ Official site]
*[http://svnbook.red-bean.com/ Version Control with Subversion], an [[O'Reilly Media|O'Reilly]] book available for free online
*[http://software.newsforge.com/article.pl?sid=05/06/02/1454229&tid=130 Version control for non-programmers with Subversion]
*[http://www.dmoz.org/Computers/Software/Configuration_Management/Tools/Subversion/ DMOZ Notes on Subversion]
*[http://www.javaworld.com/javaworld/jw-01-2008/jw-01-svnmerging.html Merging and branching in Subversion 1.5] By John Ferguson Smart, JavaWorld.com.
*[http://www.ibm.com/developerworks/java/library/j-subversion/ Introducing Subversion] by Elliotte Harold
* http://ait.web.psi.ch/services/software_hosting/version_control/ar01s03.html
 
=Processes=
 
==Initializing a New Repository==


<pre>
<pre>
$ svnadmin create /path/to/repos
$ svnadmin create /path/to/repos
</pre>
==Misc Commands==
Some miscelaneous commands:
===svnadmin===
<pre>
svnadmin
svnadmin create /u/svn
svnadmin help
</pre>
===svn===
Some svn commands...
<pre>
svn co svn+ssh://root@stubs/u/svn/projects/LDAP/Scripts
svn add src
svn ci
svn update
svn help
svn help import
svn import tst
svn init
svn list file:///u/svn
svn list file:///u/svn/projects/<PROJECT>/Scripts
</pre>
==Add Missing Files in Subversion==
<pre>
alias svn_add="svn stat | grep '?' | sed -e 's/[? ]*//' | xargs svn add"
</pre>
</pre>


=References=
=References=


* [http://svnbook.red-bean.com/ SUbversion Overview]
* [http://svnbook.red-bean.com/ Subversion Overview]
* [http://svnbook.red-bean.com/en/1.0/ch05s02.html Initializing a new repository]
* [http://svnbook.red-bean.com/en/1.0/ch05s02.html Initializing a new repository]
[[Category:Development]]
[[Category:Subversion]]
[[Category:SCM]]

Latest revision as of 22:43, 27 February 2012

Intro

Subversion (svn) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal was to be a mostly-compatible successor to the widely used Concurrent Versions System (cvs) and provide a mush more integrated support for versioning of binary blobs.

Subversion is used by many open source projects. Some well-known projects that use Subversion include: Apache Software Foundation, KDE, GNOME, Free Pascal, GCC, Python, Ruby, Samba and Mono. SourceForge.net and Tigris.org also provide Subversion hosting for their open source projects. Google Code and BountySource systems use it exclusively.

Subversion is released under the Apache License, making it free software.

Notes

High Level

Branches, Tags and Merging

External links

Processes

Initializing a New Repository

$ svnadmin create /path/to/repos

Misc Commands

Some miscelaneous commands:

svnadmin

svnadmin 
svnadmin create /u/svn
svnadmin help

svn

Some svn commands...

svn co svn+ssh://root@stubs/u/svn/projects/LDAP/Scripts
svn add src
svn ci
svn update

svn help
svn help import 

svn import tst

svn init

svn list file:///u/svn
svn list file:///u/svn/projects/<PROJECT>/Scripts

Add Missing Files in Subversion

alias svn_add="svn stat | grep '?' | sed -e 's/[? ]*//' | xargs svn add"

References