<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.na-mic.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tester1</id>
	<title>NAMIC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.na-mic.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tester1"/>
	<link rel="alternate" type="text/html" href="https://www.na-mic.org/wiki/Special:Contributions/Tester1"/>
	<updated>2026-06-11T01:34:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Engineering:Subversion_Repository&amp;diff=15566</id>
		<title>Engineering:Subversion Repository</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Engineering:Subversion_Repository&amp;diff=15566"/>
		<updated>2007-09-17T19:12:06Z</updated>

		<summary type="html">&lt;p&gt;Tester1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is NA-MIC Subversion ==&lt;br /&gt;
&lt;br /&gt;
NA-MIC SandBox is a repository of untested and unstable code developed as a part of NA-MIC. For more information, check the [[NAMIC_Wiki:Software_Process#The_Sandbox|NA-MIC Software Development Process]]&lt;br /&gt;
&lt;br /&gt;
See [http://svnbook.red-bean.com/ the SVN Book at red-bean.com]. In particular, check out the information about [http://svnbook.red-bean.com/en/1.1/ch03s05.html the Basic Work Cycle for svn].&lt;br /&gt;
&lt;br /&gt;
The NA-MIC SVN is also used for the [[Slicer3|Slicer3]] development effort.&lt;br /&gt;
&lt;br /&gt;
== How do I get NA-MIC SandBox ==&lt;br /&gt;
&lt;br /&gt;
Use [http://subversion.tigris.org/ Subversion]. Checkout using the following command:&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://www.na-mic.org/svn/NAMICSandBox/trunk NAMICSandBox&lt;br /&gt;
&lt;br /&gt;
Clients for subversion are avaialble for most operating systems. Please check if you already have Subversion on the system, or download apropriate one from http://subversion.tigris.org/project_packages.html.&lt;br /&gt;
&lt;br /&gt;
== How do I commit to NA-MIC Subversion ==&lt;br /&gt;
&lt;br /&gt;
Fill the form at https://www.kitware.com/Admin/SendPassword.cgi and under Comment type &amp;quot;Request password for NA-MIC Sandbox&amp;quot;. Once you have access to write to NA-MIC SandBox, 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;
== Can I see the files through the Web ==&lt;br /&gt;
&lt;br /&gt;
Yes, check: [http://www.na-mic.org/websvn/listing.php?repname=NAMICSandBox&amp;amp;path=%2F&amp;amp;sc=0 WebSVN].&lt;br /&gt;
&lt;br /&gt;
Or for Slicer3, [http://www.na-mic.org/websvn/listing.php?repname=Slicer3&amp;amp;path=%2F&amp;amp;sc=0 WebSVN].&lt;br /&gt;
&lt;br /&gt;
== How do I make a release branch? ==&lt;br /&gt;
&lt;br /&gt;
Use the copy command like:&lt;br /&gt;
&lt;br /&gt;
 svn copy http://www.na-mic.org/svn/Slicer3/trunk http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PostAHMBeta -m &amp;quot;ENH: new branch to capture work done at the 2007 all hands meeting&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== How can I switch between branches and the trunk? ==&lt;br /&gt;
&lt;br /&gt;
You can switch your current checkout to the branch with:&lt;br /&gt;
&lt;br /&gt;
 svn switch http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PreAHMBeta&lt;br /&gt;
&lt;br /&gt;
and get back to the head with:&lt;br /&gt;
&lt;br /&gt;
 svn switch http://www.na-mic.org/svn/Slicer3/trunk &lt;br /&gt;
&lt;br /&gt;
Once you have switched, you can do updates and commits to that branch.&lt;br /&gt;
&lt;br /&gt;
== Merging latest changes from the HEAD into your branch ==&lt;br /&gt;
&lt;br /&gt;
 svn merge http://www.na-mic.org/svn/Slicer3/trunk http://www.na-mic.org/svn/Slicer3/branches/testing/sign_integration/Slicer3&lt;br /&gt;
&lt;br /&gt;
Note: this will not get new files, just changes to existing files.&lt;br /&gt;
&lt;br /&gt;
== How can I tell if I'm on the branch or the trunk? ==&lt;br /&gt;
&lt;br /&gt;
Look at the URL line from&lt;br /&gt;
&lt;br /&gt;
 svn info&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How can I merge changes from once branch into another? ==&lt;br /&gt;
&lt;br /&gt;
See [http://svnbook.red-bean.com/en/1.2/svn.branchmerge.commonuses.html this part of the svn documentation].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example: to move changes from the current trunk head ''into'' a branch, you need to first know the version of the branch, which you can get as follows:&lt;br /&gt;
&lt;br /&gt;
 svn log --verbose --stop-on-copy http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PreAHMBeta&lt;br /&gt;
&lt;br /&gt;
from which you'll see a revision number for the commit that created the branch (in this case r2137).&lt;br /&gt;
&lt;br /&gt;
Then in the trunk, do an svn update to get the current revision number.  In my example it is 2157.  To bring changes up through 2157 into the branch, you run the following command from within the directory that has the branch:&lt;br /&gt;
&lt;br /&gt;
 svn merge -r2137:2157 http://www.na-mic.org/svn/Slicer3/trunk&lt;br /&gt;
&lt;br /&gt;
If you do 'svn status' the new files will show up as modified and/or conflicts.  You need to commit them to actually put them into the branch.&lt;br /&gt;
&lt;br /&gt;
== I get the following error when I try to commit... ==&lt;br /&gt;
&lt;br /&gt;
If you want to enable this error reporting on your subversion repository, please follow instructions about [[Subversion_Input_Filters|Subversion Input Filters]].&lt;br /&gt;
&lt;br /&gt;
=== Commit log error ===&lt;br /&gt;
&lt;br /&gt;
The error would look like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;---------------------------------------------------------------------&lt;br /&gt;
 Subversion Commits to NA-MIC require commit type in the comment.&lt;br /&gt;
 Valid commit types are:&lt;br /&gt;
   BUG:   - a change made to fix a runtime issue&lt;br /&gt;
            (crash, segmentation fault, exception, or incorrect result,&lt;br /&gt;
   COMP:  - a fix for a compilation issue, error or warning,&lt;br /&gt;
   ENH:   - new functionality added to the project,&lt;br /&gt;
   PERF:  - a performance improvement,&lt;br /&gt;
   STYLE: - a change that does not impact the logic or execution of the code.&lt;br /&gt;
            (improve coding style, comments, documentation).&lt;br /&gt;
 &lt;br /&gt;
 The Subversion command to commit the change is:&lt;br /&gt;
 &lt;br /&gt;
   svn commit -m &amp;quot;BUG: fixed core dump when passed float data&amp;quot; filename&lt;br /&gt;
 &lt;br /&gt;
 you can also use the syntax below which omits the -m flag. In this case&lt;br /&gt;
 subversion will start up an editor for you to enter a comment on why you made&lt;br /&gt;
 the change.&lt;br /&gt;
 &lt;br /&gt;
   svn commit filename&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to start the commit message with one of the specified tags.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tabs in the source file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;my baby.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) contain tabs:&lt;br /&gt;
     4: This line contains a tab--&amp;gt;      &amp;lt;--&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there is no tabs in the source files. You can remove them with&lt;br /&gt;
&lt;br /&gt;
 perl -pi .-e 's/\t/    /g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
  sed -i -e 's/\t/  /g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Windows new-lines in the source file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
Problems in file &amp;quot;trunk/AnalyzeObjectReader/objectutils.h&amp;quot;:&lt;br /&gt;
The following line(s) contain windows new-lines:&lt;br /&gt;
    1: /*************************************************************************&lt;br /&gt;
    2: Copyright (c) 2007, Regents of the University of Iowa&lt;br /&gt;
    3: &lt;br /&gt;
    4: All rights reserved.&lt;br /&gt;
    5: &lt;br /&gt;
&lt;br /&gt;
Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there are no windows new-lines in the source files. You can remove them with&lt;br /&gt;
&lt;br /&gt;
  sed -i -e 's/^M//g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the &amp;quot;^M&amp;quot; is typed by pressing the control key with the v-key followed by control key with the m-key.&lt;br /&gt;
&lt;br /&gt;
=== Missing new line at the end of file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;my baby.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) do not contain new-line character:&lt;br /&gt;
     5: another linex&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there is a new line at the end of the source file. Most editors should fix this automatically.&lt;br /&gt;
&lt;br /&gt;
=== Conflicts in the file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;test.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) contain conflicts:&lt;br /&gt;
     1: &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; .mine&lt;br /&gt;
    11: =======&lt;br /&gt;
    22: &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; .r13&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 2 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to remove any conflicts before removing files.&lt;br /&gt;
&lt;br /&gt;
Once resolved:&lt;br /&gt;
&lt;br /&gt;
 svn resolved test.cxx&lt;br /&gt;
&lt;br /&gt;
=== Things missing from SVN that were in CVS ===&lt;br /&gt;
&lt;br /&gt;
==== No cvs diff -w ====&lt;br /&gt;
&lt;br /&gt;
Some workarounds here: http://kitt.hodsden.com/ignoring_whitespace_changes_with_svn_diff&lt;br /&gt;
&lt;br /&gt;
==== No cvs update -C ====&lt;br /&gt;
&lt;br /&gt;
Remove the file and then update (nothing more clean?) (mathieu). I believe this is describe here: http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.resolve&lt;br /&gt;
&lt;br /&gt;
...snip...&lt;br /&gt;
&lt;br /&gt;
If you get a conflict, you need to do one of three things:&lt;br /&gt;
&lt;br /&gt;
* Merge the conflicted text “by hand” (by examining and editing the conflict markers within the file).&lt;br /&gt;
* Copy one of the temporary files on top of your working file.&lt;br /&gt;
* Run svn revert &amp;lt;filename&amp;gt; to throw away all of your local changes.&lt;br /&gt;
&lt;br /&gt;
Once you've resolved the conflict, you need to let Subversion know by running svn resolved. This removes the three temporary files and Subversion no longer considers the file to be in a state of conflict.&lt;br /&gt;
&lt;br /&gt;
 $ svn resolved &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...snip...&lt;/div&gt;</summary>
		<author><name>Tester1</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=File:Picturetest.ppt&amp;diff=15565</id>
		<title>File:Picturetest.ppt</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=File:Picturetest.ppt&amp;diff=15565"/>
		<updated>2007-09-17T19:05:07Z</updated>

		<summary type="html">&lt;p&gt;Tester1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester1</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Engineering:Subversion_Repository&amp;diff=15564</id>
		<title>Engineering:Subversion Repository</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Engineering:Subversion_Repository&amp;diff=15564"/>
		<updated>2007-09-17T18:52:58Z</updated>

		<summary type="html">&lt;p&gt;Tester1: /* No cvs update -C */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is NA-MIC Subversion ==&lt;br /&gt;
&lt;br /&gt;
NA-MIC SandBox is a repository of untested and unstable code developed as a part of NA-MIC. For more information, check the [[NAMIC_Wiki:Software_Process#The_Sandbox|NA-MIC Software Development Process]]&lt;br /&gt;
&lt;br /&gt;
See [http://svnbook.red-bean.com/ the SVN Book at red-bean.com]. In particular, check out the information about [http://svnbook.red-bean.com/en/1.1/ch03s05.html the Basic Work Cycle for svn].&lt;br /&gt;
&lt;br /&gt;
The NA-MIC SVN is also used for the [[Slicer3|Slicer3]] development effort.&lt;br /&gt;
&lt;br /&gt;
== How do I get NA-MIC SandBox ==&lt;br /&gt;
&lt;br /&gt;
Use [http://subversion.tigris.org/ Subversion]. Checkout using the following command:&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://www.na-mic.org/svn/NAMICSandBox/trunk NAMICSandBox&lt;br /&gt;
&lt;br /&gt;
Clients for subversion are avaialble for most operating systems. Please check if you already have Subversion on the system, or download apropriate one from http://subversion.tigris.org/project_packages.html.&lt;br /&gt;
&lt;br /&gt;
== How do I commit to NA-MIC Subversion ==&lt;br /&gt;
&lt;br /&gt;
Fill the form at https://www.kitware.com/Admin/SendPassword.cgi and under Comment type &amp;quot;Request password for NA-MIC Sandbox&amp;quot;. Once you have access to write to NA-MIC SandBox, 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;
== Can I see the files through the Web ==&lt;br /&gt;
&lt;br /&gt;
Yes, check: [http://www.na-mic.org/websvn/listing.php?repname=NAMICSandBox&amp;amp;path=%2F&amp;amp;sc=0 WebSVN].&lt;br /&gt;
&lt;br /&gt;
Or for Slicer3, [http://www.na-mic.org/websvn/listing.php?repname=Slicer3&amp;amp;path=%2F&amp;amp;sc=0 WebSVN].&lt;br /&gt;
&lt;br /&gt;
== How do I make a release branch? ==&lt;br /&gt;
&lt;br /&gt;
Use the copy command like:&lt;br /&gt;
&lt;br /&gt;
 svn copy http://www.na-mic.org/svn/Slicer3/trunk http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PostAHMBeta -m &amp;quot;ENH: new branch to capture work done at the 2007 all hands meeting&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== How can I switch between branches and the trunk? ==&lt;br /&gt;
&lt;br /&gt;
You can switch your current checkout to the branch with:&lt;br /&gt;
&lt;br /&gt;
 svn switch http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PreAHMBeta&lt;br /&gt;
&lt;br /&gt;
and get back to the head with:&lt;br /&gt;
&lt;br /&gt;
 svn switch http://www.na-mic.org/svn/Slicer3/trunk &lt;br /&gt;
&lt;br /&gt;
Once you have switched, you can do updates and commits to that branch.&lt;br /&gt;
&lt;br /&gt;
== Merging latest changes from the HEAD into your branch ==&lt;br /&gt;
&lt;br /&gt;
 svn merge http://www.na-mic.org/svn/Slicer3/trunk http://www.na-mic.org/svn/Slicer3/branches/testing/sign_integration/Slicer3&lt;br /&gt;
&lt;br /&gt;
Note: this will not get new files, just changes to existing files.&lt;br /&gt;
&lt;br /&gt;
== How can I tell if I'm on the branch or the trunk? ==&lt;br /&gt;
&lt;br /&gt;
Look at the URL line from&lt;br /&gt;
&lt;br /&gt;
 svn info&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How can I merge changes from once branch into another? ==&lt;br /&gt;
&lt;br /&gt;
See [http://svnbook.red-bean.com/en/1.2/svn.branchmerge.commonuses.html this part of the svn documentation].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example: to move changes from the current trunk head ''into'' a branch, you need to first know the version of the branch, which you can get as follows:&lt;br /&gt;
&lt;br /&gt;
 svn log --verbose --stop-on-copy http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PreAHMBeta&lt;br /&gt;
&lt;br /&gt;
from which you'll see a revision number for the commit that created the branch (in this case r2137).&lt;br /&gt;
&lt;br /&gt;
Then in the trunk, do an svn update to get the current revision number.  In my example it is 2157.  To bring changes up through 2157 into the branch, you run the following command from within the directory that has the branch:&lt;br /&gt;
&lt;br /&gt;
 svn merge -r2137:2157 http://www.na-mic.org/svn/Slicer3/trunk&lt;br /&gt;
&lt;br /&gt;
If you do 'svn status' the new files will show up as modified and/or conflicts.  You need to commit them to actually put them into the branch.&lt;br /&gt;
&lt;br /&gt;
== I get the following error when I try to commit... ==&lt;br /&gt;
&lt;br /&gt;
If you want to enable this error reporting on your subversion repository, please follow instructions about [[Subversion_Input_Filters|Subversion Input Filters]].&lt;br /&gt;
&lt;br /&gt;
=== Commit log error ===&lt;br /&gt;
&lt;br /&gt;
The error would look like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;---------------------------------------------------------------------&lt;br /&gt;
 Subversion Commits to NA-MIC require commit type in the comment.&lt;br /&gt;
 Valid commit types are:&lt;br /&gt;
   BUG:   - a change made to fix a runtime issue&lt;br /&gt;
            (crash, segmentation fault, exception, or incorrect result,&lt;br /&gt;
   COMP:  - a fix for a compilation issue, error or warning,&lt;br /&gt;
   ENH:   - new functionality added to the project,&lt;br /&gt;
   PERF:  - a performance improvement,&lt;br /&gt;
   STYLE: - a change that does not impact the logic or execution of the code.&lt;br /&gt;
            (improve coding style, comments, documentation).&lt;br /&gt;
 &lt;br /&gt;
 The Subversion command to commit the change is:&lt;br /&gt;
 &lt;br /&gt;
   svn commit -m &amp;quot;BUG: fixed core dump when passed float data&amp;quot; filename&lt;br /&gt;
 &lt;br /&gt;
 you can also use the syntax below which omits the -m flag. In this case&lt;br /&gt;
 subversion will start up an editor for you to enter a comment on why you made&lt;br /&gt;
 the change.&lt;br /&gt;
 &lt;br /&gt;
   svn commit filename&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to start the commit message with one of the specified tags.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tabs in the source file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;my baby.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) contain tabs:&lt;br /&gt;
     4: This line contains a tab--&amp;gt;      &amp;lt;--&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there is no tabs in the source files. You can remove them with&lt;br /&gt;
&lt;br /&gt;
 perl -pi .-e 's/\t/    /g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
  sed -i -e 's/\t/  /g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Windows new-lines in the source file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
Problems in file &amp;quot;trunk/AnalyzeObjectReader/objectutils.h&amp;quot;:&lt;br /&gt;
The following line(s) contain windows new-lines:&lt;br /&gt;
    1: /*************************************************************************&lt;br /&gt;
    2: Copyright (c) 2007, Regents of the University of Iowa&lt;br /&gt;
    3: &lt;br /&gt;
    4: All rights reserved.&lt;br /&gt;
    5: &lt;br /&gt;
&lt;br /&gt;
Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there are no windows new-lines in the source files. You can remove them with&lt;br /&gt;
&lt;br /&gt;
  sed -i -e 's/^M//g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the &amp;quot;^M&amp;quot; is typed by pressing the control key with the v-key followed by control key with the m-key.&lt;br /&gt;
&lt;br /&gt;
=== Missing new line at the end of file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;my baby.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) do not contain new-line character:&lt;br /&gt;
     5: another linex&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there is a new line at the end of the source file. Most editors should fix this automatically.&lt;br /&gt;
&lt;br /&gt;
=== Conflicts in the file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;test.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) contain conflicts:&lt;br /&gt;
     1: &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; .mine&lt;br /&gt;
    11: =======&lt;br /&gt;
    22: &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; .r13&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 2 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to remove any conflicts before removing files.&lt;br /&gt;
&lt;br /&gt;
Once resolved:&lt;br /&gt;
&lt;br /&gt;
 svn resolved test.cxx&lt;br /&gt;
&lt;br /&gt;
=== Things missing from SVN that were in CVS ===&lt;br /&gt;
&lt;br /&gt;
==== No cvs diff -w ====&lt;br /&gt;
&lt;br /&gt;
Some workarounds here: http://kitt.hodsden.com/ignoring_whitespace_changes_with_svn_diff&lt;br /&gt;
&lt;br /&gt;
==== No cvs update -C ====&lt;br /&gt;
&lt;br /&gt;
Remove the file and then update (nothing more clean?) (mathieu). I believe this is describe here: http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.resolve&lt;br /&gt;
&lt;br /&gt;
...snip...&lt;br /&gt;
&lt;br /&gt;
If you get a conflict, you need to do one of three things:&lt;br /&gt;
&lt;br /&gt;
* Merge the conflicted text “by hand” (by examining and editing the conflict markers within the file).&lt;br /&gt;
* Copy one of the temporary files on top of your working file.&lt;br /&gt;
* Run svn revert &amp;lt;filename&amp;gt; to throw away all of your local changes.&lt;br /&gt;
&lt;br /&gt;
Once you've resolved the conflict, you need to let Subversion know by running svn resolved. This removes the three temporary files and Subversion no longer considers the file to be in a state of conflict.&lt;br /&gt;
&lt;br /&gt;
 $ svn resolved &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...snip...&lt;br /&gt;
&lt;br /&gt;
[[snap]]&lt;/div&gt;</summary>
		<author><name>Tester1</name></author>
		
	</entry>
	<entry>
		<id>https://www.na-mic.org/w/index.php?title=Engineering:Subversion_Repository&amp;diff=15563</id>
		<title>Engineering:Subversion Repository</title>
		<link rel="alternate" type="text/html" href="https://www.na-mic.org/w/index.php?title=Engineering:Subversion_Repository&amp;diff=15563"/>
		<updated>2007-09-17T18:52:44Z</updated>

		<summary type="html">&lt;p&gt;Tester1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is NA-MIC Subversion ==&lt;br /&gt;
&lt;br /&gt;
NA-MIC SandBox is a repository of untested and unstable code developed as a part of NA-MIC. For more information, check the [[NAMIC_Wiki:Software_Process#The_Sandbox|NA-MIC Software Development Process]]&lt;br /&gt;
&lt;br /&gt;
See [http://svnbook.red-bean.com/ the SVN Book at red-bean.com]. In particular, check out the information about [http://svnbook.red-bean.com/en/1.1/ch03s05.html the Basic Work Cycle for svn].&lt;br /&gt;
&lt;br /&gt;
The NA-MIC SVN is also used for the [[Slicer3|Slicer3]] development effort.&lt;br /&gt;
&lt;br /&gt;
== How do I get NA-MIC SandBox ==&lt;br /&gt;
&lt;br /&gt;
Use [http://subversion.tigris.org/ Subversion]. Checkout using the following command:&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://www.na-mic.org/svn/NAMICSandBox/trunk NAMICSandBox&lt;br /&gt;
&lt;br /&gt;
Clients for subversion are avaialble for most operating systems. Please check if you already have Subversion on the system, or download apropriate one from http://subversion.tigris.org/project_packages.html.&lt;br /&gt;
&lt;br /&gt;
== How do I commit to NA-MIC Subversion ==&lt;br /&gt;
&lt;br /&gt;
Fill the form at https://www.kitware.com/Admin/SendPassword.cgi and under Comment type &amp;quot;Request password for NA-MIC Sandbox&amp;quot;. Once you have access to write to NA-MIC SandBox, 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;
== Can I see the files through the Web ==&lt;br /&gt;
&lt;br /&gt;
Yes, check: [http://www.na-mic.org/websvn/listing.php?repname=NAMICSandBox&amp;amp;path=%2F&amp;amp;sc=0 WebSVN].&lt;br /&gt;
&lt;br /&gt;
Or for Slicer3, [http://www.na-mic.org/websvn/listing.php?repname=Slicer3&amp;amp;path=%2F&amp;amp;sc=0 WebSVN].&lt;br /&gt;
&lt;br /&gt;
== How do I make a release branch? ==&lt;br /&gt;
&lt;br /&gt;
Use the copy command like:&lt;br /&gt;
&lt;br /&gt;
 svn copy http://www.na-mic.org/svn/Slicer3/trunk http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PostAHMBeta -m &amp;quot;ENH: new branch to capture work done at the 2007 all hands meeting&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== How can I switch between branches and the trunk? ==&lt;br /&gt;
&lt;br /&gt;
You can switch your current checkout to the branch with:&lt;br /&gt;
&lt;br /&gt;
 svn switch http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PreAHMBeta&lt;br /&gt;
&lt;br /&gt;
and get back to the head with:&lt;br /&gt;
&lt;br /&gt;
 svn switch http://www.na-mic.org/svn/Slicer3/trunk &lt;br /&gt;
&lt;br /&gt;
Once you have switched, you can do updates and commits to that branch.&lt;br /&gt;
&lt;br /&gt;
== Merging latest changes from the HEAD into your branch ==&lt;br /&gt;
&lt;br /&gt;
 svn merge http://www.na-mic.org/svn/Slicer3/trunk http://www.na-mic.org/svn/Slicer3/branches/testing/sign_integration/Slicer3&lt;br /&gt;
&lt;br /&gt;
Note: this will not get new files, just changes to existing files.&lt;br /&gt;
&lt;br /&gt;
== How can I tell if I'm on the branch or the trunk? ==&lt;br /&gt;
&lt;br /&gt;
Look at the URL line from&lt;br /&gt;
&lt;br /&gt;
 svn info&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How can I merge changes from once branch into another? ==&lt;br /&gt;
&lt;br /&gt;
See [http://svnbook.red-bean.com/en/1.2/svn.branchmerge.commonuses.html this part of the svn documentation].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example: to move changes from the current trunk head ''into'' a branch, you need to first know the version of the branch, which you can get as follows:&lt;br /&gt;
&lt;br /&gt;
 svn log --verbose --stop-on-copy http://www.na-mic.org/svn/Slicer3/branches/Slicer3.0-PreAHMBeta&lt;br /&gt;
&lt;br /&gt;
from which you'll see a revision number for the commit that created the branch (in this case r2137).&lt;br /&gt;
&lt;br /&gt;
Then in the trunk, do an svn update to get the current revision number.  In my example it is 2157.  To bring changes up through 2157 into the branch, you run the following command from within the directory that has the branch:&lt;br /&gt;
&lt;br /&gt;
 svn merge -r2137:2157 http://www.na-mic.org/svn/Slicer3/trunk&lt;br /&gt;
&lt;br /&gt;
If you do 'svn status' the new files will show up as modified and/or conflicts.  You need to commit them to actually put them into the branch.&lt;br /&gt;
&lt;br /&gt;
== I get the following error when I try to commit... ==&lt;br /&gt;
&lt;br /&gt;
If you want to enable this error reporting on your subversion repository, please follow instructions about [[Subversion_Input_Filters|Subversion Input Filters]].&lt;br /&gt;
&lt;br /&gt;
=== Commit log error ===&lt;br /&gt;
&lt;br /&gt;
The error would look like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;---------------------------------------------------------------------&lt;br /&gt;
 Subversion Commits to NA-MIC require commit type in the comment.&lt;br /&gt;
 Valid commit types are:&lt;br /&gt;
   BUG:   - a change made to fix a runtime issue&lt;br /&gt;
            (crash, segmentation fault, exception, or incorrect result,&lt;br /&gt;
   COMP:  - a fix for a compilation issue, error or warning,&lt;br /&gt;
   ENH:   - new functionality added to the project,&lt;br /&gt;
   PERF:  - a performance improvement,&lt;br /&gt;
   STYLE: - a change that does not impact the logic or execution of the code.&lt;br /&gt;
            (improve coding style, comments, documentation).&lt;br /&gt;
 &lt;br /&gt;
 The Subversion command to commit the change is:&lt;br /&gt;
 &lt;br /&gt;
   svn commit -m &amp;quot;BUG: fixed core dump when passed float data&amp;quot; filename&lt;br /&gt;
 &lt;br /&gt;
 you can also use the syntax below which omits the -m flag. In this case&lt;br /&gt;
 subversion will start up an editor for you to enter a comment on why you made&lt;br /&gt;
 the change.&lt;br /&gt;
 &lt;br /&gt;
   svn commit filename&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to start the commit message with one of the specified tags.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tabs in the source file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;my baby.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) contain tabs:&lt;br /&gt;
     4: This line contains a tab--&amp;gt;      &amp;lt;--&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there is no tabs in the source files. You can remove them with&lt;br /&gt;
&lt;br /&gt;
 perl -pi .-e 's/\t/    /g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
  sed -i -e 's/\t/  /g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Windows new-lines in the source file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
Problems in file &amp;quot;trunk/AnalyzeObjectReader/objectutils.h&amp;quot;:&lt;br /&gt;
The following line(s) contain windows new-lines:&lt;br /&gt;
    1: /*************************************************************************&lt;br /&gt;
    2: Copyright (c) 2007, Regents of the University of Iowa&lt;br /&gt;
    3: &lt;br /&gt;
    4: All rights reserved.&lt;br /&gt;
    5: &lt;br /&gt;
&lt;br /&gt;
Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there are no windows new-lines in the source files. You can remove them with&lt;br /&gt;
&lt;br /&gt;
  sed -i -e 's/^M//g' &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the &amp;quot;^M&amp;quot; is typed by pressing the control key with the v-key followed by control key with the m-key.&lt;br /&gt;
&lt;br /&gt;
=== Missing new line at the end of file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;my baby.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) do not contain new-line character:&lt;br /&gt;
     5: another linex&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 1 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure there is a new line at the end of the source file. Most editors should fix this automatically.&lt;br /&gt;
&lt;br /&gt;
=== Conflicts in the file ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;----------------------------------------------------------------------&lt;br /&gt;
 Problems in file &amp;quot;test.cxx&amp;quot;:&lt;br /&gt;
 The following line(s) contain conflicts:&lt;br /&gt;
     1: &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; .mine&lt;br /&gt;
    11: =======&lt;br /&gt;
    22: &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; .r13&lt;br /&gt;
 &lt;br /&gt;
 Found problems with 2 file(s). Cannot commit&lt;br /&gt;
 ----------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to remove any conflicts before removing files.&lt;br /&gt;
&lt;br /&gt;
Once resolved:&lt;br /&gt;
&lt;br /&gt;
 svn resolved test.cxx&lt;br /&gt;
&lt;br /&gt;
=== Things missing from SVN that were in CVS ===&lt;br /&gt;
&lt;br /&gt;
==== No cvs diff -w ====&lt;br /&gt;
&lt;br /&gt;
Some workarounds here: http://kitt.hodsden.com/ignoring_whitespace_changes_with_svn_diff&lt;br /&gt;
&lt;br /&gt;
==== No cvs update -C ====&lt;br /&gt;
&lt;br /&gt;
Remove the file and then update (nothing more clean?) (mathieu). I believe this is describe here: http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.resolve&lt;br /&gt;
&lt;br /&gt;
...snip...&lt;br /&gt;
&lt;br /&gt;
If you get a conflict, you need to do one of three things:&lt;br /&gt;
&lt;br /&gt;
* Merge the conflicted text “by hand” (by examining and editing the conflict markers within the file).&lt;br /&gt;
* Copy one of the temporary files on top of your working file.&lt;br /&gt;
* Run svn revert &amp;lt;filename&amp;gt; to throw away all of your local changes.&lt;br /&gt;
&lt;br /&gt;
Once you've resolved the conflict, you need to let Subversion know by running svn resolved. This removes the three temporary files and Subversion no longer considers the file to be in a state of conflict.&lt;br /&gt;
&lt;br /&gt;
 $ svn resolved &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...snip...&lt;br /&gt;
&lt;br /&gt;
[snap]&lt;/div&gt;</summary>
		<author><name>Tester1</name></author>
		
	</entry>
</feed>