<?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=Documentation%2F4.6%2FDevelopers%2FBuild_Instructions%2FCheckoutSourceCode</id>
	<title>Documentation/4.6/Developers/Build Instructions/CheckoutSourceCode - 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=Documentation%2F4.6%2FDevelopers%2FBuild_Instructions%2FCheckoutSourceCode"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.6/Developers/Build_Instructions/CheckoutSourceCode&amp;action=history"/>
	<updated>2026-04-03T23:50:01Z</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=Documentation/4.6/Developers/Build_Instructions/CheckoutSourceCode&amp;diff=61907&amp;oldid=prev</id>
		<title>Unknown user: Text replacement - &quot;slicerWiki/index.php&quot; to &quot;wiki&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.6/Developers/Build_Instructions/CheckoutSourceCode&amp;diff=61907&amp;oldid=prev"/>
		<updated>2019-11-21T17:33:13Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;slicerWiki/index.php&amp;quot; to &amp;quot;wiki&amp;quot;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:33, 21 November 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l73&quot; &gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   4.3.0               22408&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   4.3.0               22408&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''More corresponding SVN revision numbers can be found [http://wiki.slicer.org/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;slicerWiki/index.php&lt;/del&gt;/Release_Details here] and [http://slicer.kitware.com/midas3/slicerpackages/view here]''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''More corresponding SVN revision numbers can be found [http://wiki.slicer.org/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wiki&lt;/ins&gt;/Release_Details here] and [http://slicer.kitware.com/midas3/slicerpackages/view here]''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unknown user</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.6/Developers/Build_Instructions/CheckoutSourceCode&amp;diff=47561&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.6</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.6/Developers/Build_Instructions/CheckoutSourceCode&amp;diff=47561&amp;oldid=prev"/>
		<updated>2016-11-07T06:49:18Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.6&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
== CHECKOUT slicer source files ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
2. Even if you use &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; to check out Slicer source code, you will need to have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed to checkout and build other libraries. '''YES''', you need to install the things listed in the [[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|prerequisites]] !.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
3. Reading the following page: [[Slicer:git-svn|Slicer guide to &amp;lt;code&amp;gt;git-svn&amp;lt;/code&amp;gt;]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Git ===&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Git&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Checking the code using Git and configuring the &amp;lt;code&amp;gt;git svn&amp;lt;/code&amp;gt; bridge is the way to go. If you plan on contributing code, have a look at [[Documentation/{{documentation/version}}/Developers/Tutorials/ContributePatch|How to contribute a patch ?]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check out the code using &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; and configure the &amp;lt;code&amp;gt;git svn&amp;lt;/code&amp;gt; bridge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type:none; border-left:thick solid red; padding-left:1em;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;While it is not enforced, we strongly recommend you to '''AVOID''' the use of '''SPACES''' for both the &amp;lt;code&amp;gt;source directory&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;build directory&amp;lt;/code&amp;gt;. We mean it.&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;1&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;Clone the github repository&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;pre&amp;gt;cd MyProjects&lt;br /&gt;
git clone git://github.com/Slicer/Slicer.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;Slicer&amp;lt;/code&amp;gt; directory is automatically created after cloning Slicer.&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;Setup the development environment:&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;pre&amp;gt;cd Slicer&lt;br /&gt;
./Utilities/SetupForDevelopment.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;For more details see [[Documentation/Nightly/Developers/DevelopmentWithGit | Development With Git]].&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;On Windows enter the commands above in to a bash shell, such as Git Bash (part of msysgit).&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;Configure the &amp;lt;code&amp;gt;git svn&amp;lt;/code&amp;gt; bridge to ensure the mapping with svn revision.&amp;lt;/p&amp;gt;&lt;br /&gt;
{{pre2|scroll|&lt;br /&gt;
cd Slicer&lt;br /&gt;
git svn init http://svn.slicer.org/Slicer4/trunk&lt;br /&gt;
git update-ref refs/remotes/git-svn refs/remotes/origin/master&lt;br /&gt;
git checkout master&lt;br /&gt;
git svn rebase&lt;br /&gt;
}}&lt;br /&gt;
   &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note for &amp;lt;b&amp;gt;Mac OSX El Capitan&amp;lt;/b&amp;gt;: &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
You might need to link SVN from XCode if you find that &amp;lt;code&amp;gt;git svn&amp;lt;/code&amp;gt; is broken. To get correct links and bypass El Capitan's SIP use these commands &amp;lt;/p&amp;gt;&lt;br /&gt;
{{pre2|scroll|&lt;br /&gt;
sudo mkdir /Library/Perl/5.18/auto&lt;br /&gt;
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN /Library/Perl/5.18/darwin-thread-multi-2level&lt;br /&gt;
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN /Library/Perl/5.18/auto/&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
''If you plan to compile Slicer to develop your own extensions and test these extensions on Slicer releases, it is convenient to download the source code directly from SVN and specify the revision number corresponding to the release you want.''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co http://svn.slicer.org/Slicer4/trunk Slicer-r23774 -r 23774&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  '''Release'''         '''SVN revision#'''&lt;br /&gt;
  4.5.0-1             24735&lt;br /&gt;
  4.4                 23774&lt;br /&gt;
  4.3.1               22599&lt;br /&gt;
  4.3.0               22408&lt;br /&gt;
&lt;br /&gt;
''More corresponding SVN revision numbers can be found [http://wiki.slicer.org/slicerWiki/index.php/Release_Details here] and [http://slicer.kitware.com/midas3/slicerpackages/view here]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== Svn ===&lt;br /&gt;
&lt;br /&gt;
To simply build Slicer, getting the code using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; is a more straight-forward approach.&lt;br /&gt;
&lt;br /&gt;
  svn co http://svn.slicer.org/Slicer4/trunk Slicer&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>