Difference between revisions of "Subversion Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 72: Line 72:


svn list file:///u/svn
svn list file:///u/svn
svn list file:///u/svn/projects/MDCS/Scripts
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>


Line 82: Line 88:
[[Category:Development]]
[[Category:Development]]
[[Category:Subversion]]
[[Category:Subversion]]
[[Category:Configuration Management]]
[[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