<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>TheCodingMonkeys Blog: SubEthaEdit and Subversion part II</title>
    <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>SubEthaEdit and Subversion part II</title>
      <description> &lt;p&gt;Continuing with the more advanced stuff: Adding many files via the &lt;tt&gt;svn add&lt;/tt&gt; command can be a tedious effort. Especially if they are dispersed over many directories. But here the &lt;tt&gt;see&lt;/tt&gt; command line tool can help. Instead of &lt;tt&gt;svn add&lt;/tt&gt; do&lt;/p&gt;
&lt;div style="text-align:left;color:#ffffff; background-color:#000000; border:solid black 1px; padding:0.5em 1em 0.5em 1em; overflow:auto;font-size:small; font-family:monospace; "&gt;svn st | see | &lt;span style="color:#ff77ff;"&gt;sh&lt;/span&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;

What this does is simple, it does a &lt;tt&gt;svn st&lt;/tt&gt; and pipes it to the nearest &lt;a href="http://www.codingmonkeys.de/subethaedit/"&gt;SubEthaEdit&lt;/a&gt; for editing. So far so good. The next steps are easy: 
	&lt;ul&gt;
	&lt;li&gt;trim all the lines which you don&amp;#8217;t want to add&lt;/li&gt;
		&lt;li&gt;select all and do a &lt;a href="http://www.codingmonkeys.de/subethaedit/goodies/blockedit.mov"&gt;blockedit&lt;/a&gt; to replace the first few characters with a &lt;tt&gt;svn add&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;then close the window&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;the closing of the window hands this little snippet over to &lt;tt&gt;sh&lt;/tt&gt; which does a decent job of executing every single svn add line you just left in your text. Much more convenient than adding the files one by one.&lt;/p&gt;
&lt;p&gt;Too add even more convenience, I added the following alias to my &lt;tt&gt;~/.bash_profile&lt;/tt&gt; file. Now I have a convenient little command called &lt;tt&gt;svnadd&lt;/tt&gt; that does a svn st, greps for all lines that begin with a &lt;tt&gt;?&lt;/tt&gt; (which are the files that may need adding), shows them to me via &lt;a href="http://www.codingmonkeys.de/subethaedit/"&gt;SubEthaEdit&lt;/a&gt; in which I can pick my lines and add the &lt;tt&gt;svn add&lt;/tt&gt;, and sends them to &lt;tt&gt;sh&lt;/tt&gt; when I&amp;#8217;m done. Very handy.&lt;/p&gt;

&lt;div style="text-align:left;color:#ffffff; background-color:#000000; border:solid black 1px; padding:0.5em 1em 0.5em 1em; overflow:auto;font-size:small; font-family:monospace; "&gt;&lt;span style="color:#bb77ff;"&gt;alias&lt;/span&gt; svnadd=&lt;span style="color:#f0898f;"&gt;"svn st | grep '^\?' | sed -e 's/\?[ ]*/svn add /g' | see -r -t \"svn st\" -j \"-&amp;gt;to sh\" | sh"&lt;/span&gt;&lt;/div&gt;

&lt;p&gt;More recently &lt;a href="http://www.friday.com/bbum/2006/03/13/useful-subversion-shell-aliases/"&gt;bbum&lt;/a&gt; has brought up a really nice way of  doing shell aliases to quickly use the output of the &lt;tt&gt;svn st&lt;/tt&gt; command to look into the details of the status. I myself find the &lt;tt&gt;M&lt;/tt&gt; shortcut for quick diffing most useful, and therefore I added these lines to my &lt;tt&gt;~/.bash_profile&lt;/tt&gt;:&lt;/p&gt;
&lt;div style="text-align:left;color:#ffffff; background-color:#000000; border:solid black 1px; padding:0.5em 1em 0.5em 1em; overflow:auto;font-size:small; font-family:monospace; "&gt;&lt;span style="color:#ec77b4;"&gt;function&lt;/span&gt; &lt;span style="color:#96c9ff;"&gt;M&lt;/span&gt;() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;svn &lt;span style="color:#ff77ff;"&gt;diff&lt;/span&gt; $* | see -m &lt;span style="color:#ff77ff;"&gt;diff&lt;/span&gt; -t &lt;span style="color:#f0898f;"&gt;&amp;quot;diff:$*&amp;quot;&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;Which really gives nice quick access to a see enhanced diff.&lt;/p&gt;




</description>
      <pubDate>Tue, 02 May 2006 17:33:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:7f65d704-9fbd-4f85-9e40-fcb321fcc0dc</guid>
      <author>dom</author>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion</link>
      <category>SubEthaEdit</category>
      <category>subethaedit</category>
      <category>subversion</category>
      <category>see-tool</category>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by Used tractor values</title>
      <description>&lt;p&gt;Really a good and interactive post, i think the post is informative and knowledge providing both in regard of current affairs and present economic Situations.&lt;/p&gt;</description>
      <pubDate>Mon, 16 Aug 2010 21:31:08 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:9487f706-d6ae-4ce9-a2ce-ca024d75b40d</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-1098</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by well pumps</title>
      <description>&lt;p&gt;No one will dislike this wonderful article......&lt;/p&gt;</description>
      <pubDate>Thu, 05 Aug 2010 11:39:10 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:eb304575-8479-49ab-8e48-e356202d7e7c</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-1066</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by kim miller</title>
      <description>&lt;p&gt;this feature not only reduces the time but also cut down the problems relating to mixed line ending.&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jul 2010 16:40:07 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:dd8518c8-ab8d-4c95-bfe3-2db8a00ac9ca</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-1053</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by rosalin jones</title>
      <description>&lt;p&gt;Nice information. But can you explain how to use bash mode with subEthaEdit. I am getting much of the trouble while trying out this?
&lt;a href="http://rssgalaxy.net
"&gt;rosalinjones&lt;/a&gt; &lt;/p&gt;</description>
      <pubDate>Wed, 21 Jul 2010 19:05:44 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:b8d0fc32-fbb1-4f5b-b0da-617c98e9da5a</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-1043</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by Andrew Garcia</title>
      <description>&lt;p&gt;I am glad i found this coding treasure. it is filled up with lots of tips and tricks. Keep up the great work. &lt;/p&gt;</description>
      <pubDate>Fri, 02 Jul 2010 16:56:15 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:853ff875-5d2a-403e-acb0-7539382f3965</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-1016</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by neck pain</title>
      <description>&lt;p&gt;Thanks to all the members who have given their wonderful  comments....  keep on posting&lt;/p&gt;</description>
      <pubDate>Wed, 23 Jun 2010 12:58:32 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:e953a19e-d9b7-46b8-a038-a02615b7571f</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-986</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by dom</title>
      <description>as map said: the see tool and this tips are for people that like living in the command line. I myself e.g. am normally a total gui person. But when it comes to subversion there just isn't a real good subversion gui client IMHO so I put up with the command line.</description>
      <pubDate>Wed, 03 May 2006 16:59:40 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:d6048621-34ba-4ca9-b97c-15a4ce3516de</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-32</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by map</title>
      <description>&lt;p&gt;Bob, the tips described here are ment for an audience that interacts with subversion via "arcane commands" anyway.&lt;/p&gt;

&lt;p&gt;If you prefer using a GUI to interact with your SCM, Xcode and svnX come to mind as frontends.&lt;/p&gt;</description>
      <pubDate>Wed, 03 May 2006 16:53:09 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:5e010fc7-fa9f-4ff9-857f-4db1feb39d9b</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-31</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by Bob</title>
      <description>The processes described here sounds pretty painful.  Why pretend there is a interface between SubEthaEdit and svn when it consists of a bunch of arcane commands and shell scripts. Assuming I am incorrect in my evaluation---and I probably am---please help me out with my lack of understanding here. BTW, I use TeX, Plain TeX that is, and have read the The TeXBook several time, so it's not like I can not  understand arcane content. :) Thanks.</description>
      <pubDate>Wed, 03 May 2006 15:27:16 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:05534ee4-42fe-4f0d-a1cb-f35334789417</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-30</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by map</title>
      <description>Eliott, some of us live in bash and like it. I don't see why you feel those people are "masochists".

I looks to me like you haven't even tried the things mentioned here, due to your "doing commits via your editor's find/replace functionality" comment. In fact SubEthaEdit diff.mode display of a diff looks quite similar to RevisionTool's diff display...</description>
      <pubDate>Tue, 02 May 2006 19:03:10 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:b47103d2-6548-4a3e-8622-dfb88ebfd279</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-29</link>
    </item>
    <item>
      <title>"SubEthaEdit and Subversion part II" by Elliott Hughes</title>
      <description>I always knew we were doing a poor job of advertising &lt;a &gt;SCM&lt;/a rel="nofollow"&gt; (a GPL front-end to various revision control systems)! You've prompted me to write &lt;a &gt;Why you should use jessies.org SCM tools&lt;/a rel="nofollow"&gt;.</description>
      <pubDate>Tue, 02 May 2006 18:19:57 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:e1a49456-c957-4ecc-a7b3-88a511b94f7e</guid>
      <link>http://codingmonkeys.de/blog/articles/2006/05/02/subethaedit-and-subversion#comment-28</link>
    </item>
  </channel>
</rss>
