<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to SvnTransition</title><link>https://sourceforge.net/p/pencil-code/wiki/SvnTransition/</link><description>Recent changes to SvnTransition</description><atom:link href="https://sourceforge.net/p/pencil-code/wiki/SvnTransition/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 22 Mar 2015 20:27:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pencil-code/wiki/SvnTransition/feed" rel="self" type="application/rss+xml"/><item><title>SvnTransition modified by Anonymous</title><link>https://sourceforge.net/p/pencil-code/wiki/SvnTransition/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The transition to google code seems to have worked fine for those who have tried it. A general comment seems to be that it is a bit slower than our own Nordita svn, and that the commit messages arrive a bit later than before, but this is probably acceptable. &lt;/p&gt;
&lt;h3 id="how-to-change-your-existing-svn-repository"&gt;How to change your existing svn repository&lt;/h3&gt;
&lt;p&gt;If you have already checked out the code under Nordita's svn, you can just change the settings, e.g. like &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="s"&gt;"entries"&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;exec&lt;/span&gt; &lt;span class="n"&gt;sed&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//brandenb@svn.nordita.org:/svn/pencil-code=https://AxelBrandenburg@pencil-code.googlecode.com/svn=' '{}' \;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here brandenb has to be replaced by your previous nordita-svn name, and AxelBrandenburg has to be replaced by your google gmail name. &lt;/p&gt;
&lt;p&gt;Alternatively (usually only if you never used Nordita's svn before), you can do a fresh checkout, via &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;svn&lt;/span&gt; &lt;span class="n"&gt;checkout&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//pencil-code.googlecode.com/svn/trunk/ pencil-code --username AxelBrandenburg&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;where AxelBrandenburg has to be replaced by your google gmail name. &lt;/p&gt;
&lt;p&gt;Note for Mac's users: the correct syntax is the following for the above sed replacement &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="s"&gt;"entries"&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;exec&lt;/span&gt; &lt;span class="n"&gt;sed&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="sc"&gt;' '&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//brandenb@svn.nordita.org:/svn/pencil-code=https://AxelBrandenburg@pencil-code.googlecode.com/svn=' '{}' \;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="no-google-account-yet"&gt;No Google account yet&lt;/h3&gt;
&lt;p&gt;Give you google email account to one of the project owner, who can add you as a member. When you have an account, go to your user profile and then to settings to get a special password that you use for svn. &lt;/p&gt;
&lt;h3 id="e-mail-notification-for-subversion-commits-and-the-issue-tracker"&gt;E-mail notification for subversion commits and the issue tracker&lt;/h3&gt;
&lt;p&gt;Sign up to the mailing lists &lt;a href="http://groups.google.com/group/pencil-code-commits" rel="nofollow"&gt;http://groups.google.com/group/pencil-code-commits&lt;/a&gt; and &lt;a href="http://groups.google.com/group/pencil-code-issues" rel="nofollow"&gt;http://groups.google.com/group/pencil-code-issues&lt;/a&gt;. &lt;/p&gt;
&lt;h3 id="want-to-discuss-the-pencil-code"&gt;Want to discuss the Pencil Code&lt;/h3&gt;
&lt;p&gt;Sign up to the mailing list &lt;a href="http://groups.google.com/group/pencil-code-discuss" rel="nofollow"&gt;http://groups.google.com/group/pencil-code-discuss&lt;/a&gt;. This replaces the previous pencil-code discuss mailing list. &lt;/p&gt;
&lt;h3 id="problems-with-svn"&gt;Problems with SVN?&lt;/h3&gt;
&lt;p&gt;Visit &lt;a href="http://svnbook.red-bean.com/en/1.0/apa.html" rel="nofollow"&gt;http://svnbook.red-bean.com/en/1.0/apa.html&lt;/a&gt; if you have problems with svn. Given your cvs background, it is easy to forget about things like &lt;em&gt;svn resolved&lt;/em&gt;. Another important command would be &lt;em&gt;svn revert chemistry.f90&lt;/em&gt; if you deleted it by accident. &lt;/p&gt;
&lt;h3 id="more-tips"&gt;More tips&lt;/h3&gt;
&lt;p&gt;Unlike CVS, the $Id$ tag is not automatically expanded. If the file's name is README, for example, one needs to say explicitly &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;svn&lt;/span&gt; &lt;span class="n"&gt;propset&lt;/span&gt; &lt;span class="n"&gt;svn&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;keywords&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;Id&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="n"&gt;README&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;to get the $Id$ keyword expanded. Likewise, if a file happened to be checked in as an excecutable, one can delete this property (or do the opposite) by saying, e.g., &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;svn&lt;/span&gt; &lt;span class="n"&gt;propdel&lt;/span&gt; &lt;span class="n"&gt;svn&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;executable&lt;/span&gt; &lt;span class="n"&gt;anelastic_hurdle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tex&lt;/span&gt;
    &lt;span class="n"&gt;svn&lt;/span&gt; &lt;span class="n"&gt;propset&lt;/span&gt; &lt;span class="n"&gt;svn&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;executable&lt;/span&gt; &lt;span class="n"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;pc_remove_dot&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;What if my last check-in happened from another user-id? This can happen if you shared your unix account with somebody else, but he/she did his/her last checkin under his/her svn name. Then, try this: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   &lt;span class="n"&gt;svn&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;username&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;AxelBrandenburg&lt;/span&gt; &lt;span class="n"&gt;update&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Note: if you do a check-in for the first time, and it fails, this could be because you checked out the code with http rather than https. To fix this, type &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="n"&gt;svn&lt;/span&gt; &lt;span class="k"&gt;switch&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;relocate&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//pencil-code.googlecode.com/svn/trunk/ https://pencil-code.googlecode.com/svn/trunk/ --username AxelBrandenburg@gmail.com&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You will need to do this in your pencil-code directory. You will then be asked about your authentication (which is your gmail address) and about your password (which you get from the pencil code home page under profile and settings, and you need to be logged in their page for that. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 22 Mar 2015 20:27:05 -0000</pubDate><guid>https://sourceforge.netf4af1bec9140768914444b5bbde6c370e1f97c31</guid></item></channel></rss>