Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/CheckoutSourceCode"

From Slicer Wiki
Jump to: navigation, search
m
Line 36: Line 36:
 
     <p>Configure the <code>git svn</code> bridge to ensure the mapping with svn revision.</p>
 
     <p>Configure the <code>git svn</code> bridge to ensure the mapping with svn revision.</p>
 
{{pre2|scroll|
 
{{pre2|scroll|
  cd Slicer
+
cd Slicer
  git svn init http://svn.slicer.org/Slicer4/trunk
+
git svn init http://svn.slicer.org/Slicer4/trunk
  git update-ref refs/remotes/git-svn refs/remotes/origin/master
+
git update-ref refs/remotes/git-svn refs/remotes/origin/master
  git checkout master
+
git checkout master
  git svn rebase
+
git svn rebase
 
}}
 
}}
 
   </li>
 
   </li>

Revision as of 01:51, 15 June 2013

Home < Documentation < Nightly < Developers < Build Instructions < CheckoutSourceCode


CHECKOUT slicer source files


Check out the code using git and configure the git svn bridge:

  1. Clone the github repository

    git clone git://github.com/Slicer/Slicer.git
  2. Setup the development environment using the SetupForDevelopment.sh script as described on our Development With Git page.

  3. Configure the git svn bridge to ensure the mapping with svn revision.

    cd Slicer
    git svn init http://svn.slicer.org/Slicer4/trunk
    git update-ref refs/remotes/git-svn refs/remotes/origin/master
    git checkout master
    git svn rebase