<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Contributing_code</id>
	<title>Contributing code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Contributing_code"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Contributing_code&amp;action=history"/>
	<updated>2026-04-12T15:11:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Contributing_code&amp;diff=1678&amp;oldid=prev</id>
		<title>Klawson at 17:49, 14 June 2007</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Contributing_code&amp;diff=1678&amp;oldid=prev"/>
		<updated>2007-06-14T17:49:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Contributing Code=&lt;br /&gt;
&lt;br /&gt;
Once Slicer3 is downloaded from the Subversion Control (SVN) server, you contribute codes by committing them back to SVN. The following set of steps will lead you through this process:&lt;br /&gt;
&lt;br /&gt;
==How to obtain Slicer 3 codes from SVN ==&lt;br /&gt;
&lt;br /&gt;
The Slicer3 svn repository sits in a server at Brigham and Women's Hospital in Boston. You can checkout codes by:&lt;br /&gt;
&lt;br /&gt;
 svn co http://www.na-mic.org/svn/Slicer3/trunk Slicer3&lt;br /&gt;
&lt;br /&gt;
'''You don't need to obtain an account discussed below''' if you don't commit codes back to the sever, but we enthusiastically invite you to do so.&lt;br /&gt;
&lt;br /&gt;
== How to commit codes ==&lt;br /&gt;
&lt;br /&gt;
First, fill the form at https://www.kitware.com/Admin/SendPassword.cgi and under Comment type &amp;quot;Request password for Slicer&amp;quot;.  Once you have access to write to SVN, you can work with repository using the following commands:&lt;br /&gt;
&lt;br /&gt;
To update repository:&lt;br /&gt;
&lt;br /&gt;
 svn update&lt;br /&gt;
&lt;br /&gt;
To check current state of your edits:&lt;br /&gt;
&lt;br /&gt;
 svn status&lt;br /&gt;
&lt;br /&gt;
To check the current state compared to the repository:&lt;br /&gt;
&lt;br /&gt;
 svn -u status&lt;br /&gt;
&lt;br /&gt;
To add new file:&lt;br /&gt;
&lt;br /&gt;
 svn add filename&lt;br /&gt;
&lt;br /&gt;
followed by (very important):&lt;br /&gt;
&lt;br /&gt;
 svn commit -m&amp;quot;ENH: Adding a new file&amp;quot; filename&lt;br /&gt;
&lt;br /&gt;
To remove file:&lt;br /&gt;
&lt;br /&gt;
 svn remove filename&lt;br /&gt;
&lt;br /&gt;
To rename file:&lt;br /&gt;
&lt;br /&gt;
 svn move oldname newname&lt;br /&gt;
&lt;br /&gt;
If the update results in conflict, fix the file first before commiting it.&lt;br /&gt;
&lt;br /&gt;
Once you have fixed the file:&lt;br /&gt;
&lt;br /&gt;
 svn resolved &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GUI tools for eash SVN handling==&lt;br /&gt;
It is handy to use GUI tool for SVN. I particulary like a cross-platform GUI tool called [http://rapidsvn.tigris.org/ RapidSVN].&lt;/div&gt;</summary>
		<author><name>Klawson</name></author>
		
	</entry>
</feed>