From Fedora Project Wiki

< Docs‎ | Drafts

m (adding content)
 
m (→‎Subversion: adding editor configuration)
Line 2: Line 2:


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.)
== Configuring an SVN Editor ==
Add the following line to your <code>~/.bashrc</code> file to see a list of files that will be committed during an SVN commit:
<pre>
export SVN_EDITOR=/bin/vi
</pre>
After configuring the <code>SVN_EDITOR</code> variable, running the <code>svn ci</code> 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 <code>svn ci -m "this is a log file"</code> command does display which files have changed, that is, the files that are being committed back into SVN.

Revision as of 01:50, 31 July 2008

Subversion

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.