From Fedora Project Wiki

< Docs‎ | Drafts

m (→‎Subversion: note about copying)
Line 1: Line 1:
= Subversion =
= Subversion =


Note to Red Hat employees: the content in the following sections was copied with permission.
'''Note to Red Hat employees: the content in the following sections was copied with permission.'''


Subversion (SVN) is a version control system. It replaces CVS and, like its forebear, keeps track of changes made to books. The Subversion project is hosted by [http://subversion.tigris.org/ Tigris.org] and a command reference can be downloaded in [http://subversion.tigris.org/files/documents/15/177/svn-ref.ps PostScript format from the site.] (NB: Evince, the PDF and PostScript file viewer included with Fedora can display PostScript files.)
Subversion (SVN) is a version control system. It replaces CVS and, like its forebear, keeps track of changes made to books. The Subversion project is hosted by [http://subversion.tigris.org/ Tigris.org] and a command reference can be downloaded in [http://subversion.tigris.org/files/documents/15/177/svn-ref.ps PostScript format from the site.] (NB: Evince, the PDF and PostScript file viewer included with Fedora can display PostScript files.)

Revision as of 01:53, 31 July 2008

Subversion

Note to Red Hat employees: the content in the following sections was copied with permission.

Subversion (SVN) is a version control system. It replaces CVS and, like its forebear, keeps track of changes made to books. The Subversion project is hosted by Tigris.org and a command reference can be downloaded in PostScript format from the site. (NB: Evince, the PDF and PostScript file viewer included with Fedora can display PostScript files.)

Configuring an SVN Editor

Add the following line to your ~/.bashrc file to see a list of files that will be committed during an SVN commit:

export SVN_EDITOR=/bin/vi

After configuring the SVN_EDITOR variable, running the svn ci command displays list of files that have been modified. This is useful if you accidentally modified a file that you do not want to commit back into SVN. Running the svn ci -m "this is a log file" command does display which files have changed, that is, the files that are being committed back into SVN.