<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Valeriu Caraulean &#187; Tools</title>
	<atom:link href="http://blog.caraulean.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.caraulean.com</link>
	<description>Keep it simple. It will work...</description>
	<lastBuildDate>Fri, 10 Feb 2012 04:38:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.caraulean.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Valeriu Caraulean &#187; Tools</title>
		<link>http://blog.caraulean.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.caraulean.com/osd.xml" title="Valeriu Caraulean" />
	<atom:link rel='hub' href='http://blog.caraulean.com/?pushpress=hub'/>
		<item>
		<title>TortoiseHG and JIRA integration&#8211;the lightweight option</title>
		<link>http://blog.caraulean.com/2011/09/09/tortoisehg-and-jira-integrationthe-lightweight-option/</link>
		<comments>http://blog.caraulean.com/2011/09/09/tortoisehg-and-jira-integrationthe-lightweight-option/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 09:29:08 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2011/09/09/tortoisehg-and-jira-integrationthe-lightweight-option/</guid>
		<description><![CDATA[You can integrate JIRA and TortoiseHG Workbench at two levels: Only highlight the issue in your revision details and allow quickly open it in browser Connect to your JIRA and show the list of issues with all filters, view details and pick issues to include in your commit. Now we’ll focus on the easiest option [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=323&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can integrate JIRA and TortoiseHG Workbench at two levels:</p>
<ul>
<li>Only highlight the issue in your revision details and allow quickly open it in browser</li>
<li>Connect to your JIRA and show the list of issues with all filters, view details and pick issues to include in your commit.</li>
</ul>
<p>Now we’ll focus on the easiest option to implement – displaying issue number in commit message&nbsp; and open it in browser.</p>
<p>Required settings:</p>
<ul>
<li>Open <strong>Issue Tracking</strong> category in Settings dialog of TortoiseHG</li>
<li>Set properties to</li>
<ul>
<li><strong>Issue Regex</strong>: \b\w{3,7}-\d+\b</li>
<li><strong>Issue Link</strong>: <a title="http://jira.server.com:8080/browse/{0}" href="http://your.jira.server.com:8080/browse/{0}">http://your.jira.server.com:8080/browse/{0}</a></li>
</ul>
<li>Ignore the rest of settings for now</li>
</ul>
<p>See the screenshot, it should look like this:</p>
<p><a href="http://varely.files.wordpress.com/2011/09/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://varely.files.wordpress.com/2011/09/image_thumb.png?w=573&#038;h=296" width="573" height="296"></a></p>
<p>&nbsp;</p>
<p>Now if your commit message in revision details will contain a code of an Issue (or what will be detected as code) it will be highlighted as a hyperlink and clicking it will open a browser with your Issue details in JIRA.</p>
<p><a href="http://varely.files.wordpress.com/2011/09/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://varely.files.wordpress.com/2011/09/image_thumb1.png?w=581&#038;h=393" width="581" height="393"></a></p>
<p>I’m trying to get a deeper integration working, unsuccessfully so far. When it will be done will publish a follow-up post…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=323&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2011/09/09/tortoisehg-and-jira-integrationthe-lightweight-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/09/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/09/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Integration of Caliburn.Micro and Telerik&#8217;s Silverlight controls</title>
		<link>http://blog.caraulean.com/2011/06/05/integration-of-caliburn-micro-and-teleriks-silverlight-controls/</link>
		<comments>http://blog.caraulean.com/2011/06/05/integration-of-caliburn-micro-and-teleriks-silverlight-controls/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 21:51:45 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2011/06/05/integration-of-caliburn-micro-and-teleriks-silverlight-controls/</guid>
		<description><![CDATA[I’ve wrote already about how to use Telerik’s RadTabControl with Caliburn.Micro and profit from Caliburn’s conventions. That post is still getting considerable attention in my blog and also there are people are asking in Caliburn’s discussion list about such kind of integration. So, I’ve decided to spend some of my time and provide a more [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=308&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve wrote already about how to <a href="http://blog.caraulean.com/2010/12/11/teleriks-radtabcontrol-and-caliburn-micro/">use Telerik’s RadTabControl with Caliburn.Micro</a> and profit from Caliburn’s conventions. That post is still getting considerable attention in my blog and also there are people are asking in Caliburn’s discussion list about such kind of integration. So, I’ve decided to spend some of my time and provide a more coherent experience in this domain. Rob Eisenberg <a href="http://caliburnmicro.codeplex.com/discussions/256418">suggested to create a dedicated project</a> for it and, why not, to create a NuGet package. That sounded very interesting for me as it would allow me to scratch another itch – the <a href="http://nuget.org">NuGet</a> package manager. We’ve been using it in our projects with great success but I have never explored the part with creation and publication of packages.</p>
<h3>How do you get it</h3>
<p><a href="https://github.com/vcaraulean/Caliburn.Micro.Telerik">Caliburn.Micro.Telerik source code on GitHub</a>. Feel free to pull the code &amp; use only parts you need. There are two main classes, you can copy&amp;paste them in your projects. If you want to contribute, I’d appreciate a push request with new conventions, better code samples or bug fixes. Report issues if you’ve found any…</p>
<p><a href="http://nuget.org/List/Packages/Caliburn.Micro.Telerik">Caliburn.Micro.Telerik as a NuGet package</a>. “Add&#160; Library Package Reference …” from Visual Studio &amp; start using it. My package has a dependency on Caliburn.Micro.1.1.0 so you can just reference it and Caliburn will be pulled in automatically.</p>
<h3>What’s in</h3>
<p>First of all, <strong>conventions</strong>. I’ve put inside conventions we’ve been using in our projects and plan to add more. So far there are conventions for:</p>
<ul>
<li>RadTabControl </li>
<li>RadBusyIndicator </li>
<li>RadDateTimePicker (affects also RadTimePicker and RadDatePicker) </li>
</ul>
<p>Then you have a basic <strong>implementation of IWindowManager</strong>, the RadWindowManager class. Nothing fancy, pretty basic stuff. And I plan to extend it to offer also an unified interface to Telerik’s custom dialogs like Confirm, Alert and Prompt.</p>
<p>And third, there are <strong>two sample projects</strong>, one showing how to use conventions and other makes use of RadWindowManager.</p>
<h3>How to use conventions</h3>
<p>Add a line in your Bootstrapper’s Configure() method to enable conventions:</p>
<p><span style="color:blue;">public class </span><span style="color:#2b91af;">AppBootstrapper </span>: <span style="color:#2b91af;">Bootstrapper</span>&lt;<span style="color:#2b91af;">IShell</span>&gt;    <br />{    <br /><span style="color:gray;">&#160;&#160; </span><span style="color:blue;">protected override void</span>Configure() {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:green;">// …</span></p>
<pre class="code"><span style="color:green;">        </span><strong><span style="color:#2b91af;">TelerikConventions</span>.Install()</strong>;
    }</pre>
<p>Check it out and let me know if you found it useful or how it’s possible to make it better…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=308&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2011/06/05/integration-of-caliburn-micro-and-teleriks-silverlight-controls/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick tip: Configure TeamCity 6.5 to run a personal build when you&#8217;ve committed to a branch</title>
		<link>http://blog.caraulean.com/2011/05/31/quick-tip-configure-teamcity-6-5-to-run-a-personal-build-when-youve-committed-to-a-branch/</link>
		<comments>http://blog.caraulean.com/2011/05/31/quick-tip-configure-teamcity-6-5-to-run-a-personal-build-when-youve-committed-to-a-branch/#comments</comments>
		<pubDate>Tue, 31 May 2011 14:14:27 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2011/05/31/quick-tip-configure-teamcity-6-5-to-run-a-personal-build-when-youve-committed-to-a-branch/</guid>
		<description><![CDATA[This feature is well enough to upgrade your TeamCity to latest 6.5. Of course, if you’re using a DVCS (Git or Mercurial) and use feature branches. As feature branches can be active for a longer time and last few dozens of commits, you want to plug that branch into your Continous Integration process. That’s for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=302&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This feature is well enough to upgrade your TeamCity to latest 6.5. Of course, if you’re using a DVCS (Git or Mercurial) and use feature branches. As feature branches can be active for a longer time and last few dozens of commits, you want to plug that branch into your Continous Integration process. That’s for sure…</p>
<p>Feature description by JetBrains:</p>
<blockquote><p><strong>Remote run on changes in DVCSs branches</strong>: New build trigger added that watches for commits into Git or Mercurial branches and adds personal build to the build queue when commit detected.</p>
</blockquote>
<p>It took me some time to find how it can be enabled. Finally <a href="http://confluence.jetbrains.net/display/TCD65/Branch+Remote+Run+Trigger">found it in documentation</a>. The trick is – <strong>it’s a build trigger</strong>. Just add a new trigger, called <strong>Branch Remote Run Trigger</strong> and enable it. </p>
<p>You can specify a pattern that will be used to select which branches will be picked up.&#160; I’ve specified “<strong>*</strong>” because I wanted that every branch to be continuously built &amp; tested.</p>
<p>But you you have really long-living branches I would suggest a separate build for it however…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=302&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2011/05/31/quick-tip-configure-teamcity-6-5-to-run-a-personal-build-when-youve-committed-to-a-branch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick tip: if Git can&#8217;t find your global config&#8230;</title>
		<link>http://blog.caraulean.com/2011/05/25/quick-tip-if-git-cant-find-your-global-config/</link>
		<comments>http://blog.caraulean.com/2011/05/25/quick-tip-if-git-cant-find-your-global-config/#comments</comments>
		<pubDate>Wed, 25 May 2011 15:30:55 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2011/05/25/quick-tip-if-git-cant-find-your-global-config/</guid>
		<description><![CDATA[If you’ve put (or want to put) your .gitconfig in your home directory (C:\Users\username\) and git cannot find it you may try to add a user variable called HOME and set it to %USERPROFILE%. See screenshot for details: Useful commands: git config --global -l git config --global –e First will show your global configuration file, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=297&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you’ve put (or want to put) your <strong>.gitconfig</strong> in your home directory (C:\Users\username\) and git cannot find it you may try to add a user variable called <strong>HOME</strong> and set it to <strong>%USERPROFILE%</strong>.</p>
<p>See screenshot for details:</p>
<p><a href="http://varely.files.wordpress.com/2011/05/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://varely.files.wordpress.com/2011/05/image_thumb.png?w=604&#038;h=352" alt="image" width="604" height="352" border="0" /></a></p>
<p>Useful commands:</p>
<pre><span style="font-family:'Courier New';font-size:small;">git config --global -l
git config --global –e</span></pre>
<p>First will show your global configuration file, second will try open it to edit.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=297&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2011/05/25/quick-tip-if-git-cant-find-your-global-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Working with named branches using TortoiseHg 2.0. An illustrated workflow&#8230;</title>
		<link>http://blog.caraulean.com/2011/03/09/working-with-named-branches-using-tortoisehg-2-0-illustrated-workflow/</link>
		<comments>http://blog.caraulean.com/2011/03/09/working-with-named-branches-using-tortoisehg-2-0-illustrated-workflow/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 22:54:47 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2011/03/09/working-with-named-branches-using-tortoisehg-2-0-illustrated-workflow/</guid>
		<description><![CDATA[Disclaimer: I’ve wrote this guide for my teammates that started diving in Mercurial. They came with Subversion background and after looking how they are working with Mercurial I wanted to show them one of more flexible workflows. It’s not a definitive guide. Just one of the ways to manage multiple work items with Mercurial and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=211&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h5><strong>Disclaimer</strong>: I’ve wrote this guide for my teammates that started diving in Mercurial. They came with Subversion background and after looking how they are working with Mercurial I wanted to show them one of more flexible workflows. It’s not a definitive guide. Just <strong>one of the ways</strong> to manage multiple work items with Mercurial and TortoiseHg 2.0. Oh, and it’s illustrated…</h5>
<h2>The Story, a real one…</h2>
<p>One of the devs was working on a feature and wanted to push it to remote repository. Feature, being incomplete/not finished/full of bugs makes using some parts of the app awkward. And/or it’s keeping out other devs working in same source code area. Or the developer wants just push it and go fix an annoying bug he just spotted in other area…</p>
<h4>What to do?</h4>
<p>First of all, don’t keep it local! You should <strong>not try keep your modifications local</strong>. Mostly because your PC is not as reliable as our servers and also work you do isn’t visible to other team members.</p>
<p>Let’s formulate the problem: <strong>have ability to manage few work items simultaneously</strong>.</p>
<h4>When it’s useful?</h4>
<ul>
<li>A piece of work (issue/ticket/feature/bug) you’re tackling currently can take multiple days to implement. Even weeks.</li>
<li>Multiple work items are useful when you have to quickly fix a bug in ‘default’ line when keep working on another feature</li>
<li>You can share your unfinished work or ask an advice/review on it from your teammates</li>
<li>You want to do something experimental, a crazy idea to try and then throw it to recycle bin.</li>
</ul>
<h4>Solution?</h4>
<p>One of the options is use<strong> Mercurial named branches</strong>. I’ll describe a small workflow (with pictures, so you don’t get bored) describing how you can manage multiple work items at the same time.</p>
<p>Here is the algorithm, to get you on the track. It’s command line log with commentaries:</p>
<pre class="code"><strong>hg branch ticket-17</strong>                        // creating branch ‘ticket-17’
(do some changes)
<strong>hg commit –m “my commit message”</strong>           // committing to the branch
(more work, more commits)
<strong>hg update default</strong>                          // switching to default line
<strong>hg merge ticket-17</strong>                         // merging branch ‘ticket-17’ to default line
<strong>hg commit</strong>                                  // committing your merge</pre>
<p>And that’s all. I hope you’ve got the idea.</p>
<h3>How to do it with Tortoise HG 2.0</h3>
<h4>Configuration</h4>
<p>To be able to push your branches to remote repository you have to configure TortoiseHg to allow new branches.</p>
<p>The picture:</p>
<p><a href="http://varely.files.wordpress.com/2011/03/clip_image002.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002" src="http://varely.files.wordpress.com/2011/03/clip_image002_thumb.jpg?w=639&#038;h=485" border="0" alt="clip_image002" width="639" height="485" /></a></p>
<p>Steps:</p>
<ol>
<li>Click Synchronize</li>
<li>Click Options</li>
<li>Check “Allow push of a new branch”</li>
</ol>
<h4>Create new named branch</h4>
<p>The picture:</p>
<p><a href="http://varely.files.wordpress.com/2011/03/clip_image004.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image004" src="http://varely.files.wordpress.com/2011/03/clip_image004_thumb.jpg?w=641&#038;h=485" border="0" alt="clip_image004" width="641" height="485" /></a></p>
<p>Steps:</p>
<ul>
<li>Select the working directory in log view</li>
<li>Click on button with name of current branch &#8211; “Branch: default”</li>
<li>Select Open a new named branch and give it a name. Short and clean. Or long but anyway clean &amp; descriptive.</li>
</ul>
<p>When you’ll press OK your current branch button will change to “New branch: feature-1”</p>
<h4>Get the work done and commit to your new branch</h4>
<p>No pictures here as working with code is a very intimate process.</p>
<p>Just be sure you’re committing to the right branch.</p>
<h4>Update to default branch</h4>
<p>Picture:</p>
<p><a href="http://varely.files.wordpress.com/2011/03/clip_image006.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image006" src="http://varely.files.wordpress.com/2011/03/clip_image006_thumb.jpg?w=641&#038;h=485" border="0" alt="clip_image006" width="641" height="485" /></a></p>
<p>Steps:</p>
<ol>
<li>Select the “head” of default branch (the green label with name of the branch). Or, if you want to get creative, another branch where you want to integrate the “feature-1”.</li>
<li>Click “Update…”</li>
</ol>
<h4>Merging changes from feature-1 to default</h4>
<p>The picture:</p>
<p><a href="http://varely.files.wordpress.com/2011/03/clip_image008.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image008" src="http://varely.files.wordpress.com/2011/03/clip_image008_thumb.jpg?w=641&#038;h=485" border="0" alt="clip_image008" width="641" height="485" /></a></p>
<p>Steps:</p>
<ul>
<li>Ensure your working directory is default branch.</li>
<li>Click on the head of “feature-1” branch and choose “Merge with local…”</li>
</ul>
<p>A Merge dialog will open.</p>
<ul>
<li>Review one more time the what you’re about to do</li>
<li>Click Merge</li>
<li>You’ll be asked to commit your merge. Change message if you want and do commit.</li>
</ul>
<p><span style="color:#ff0000;">You’re done!</span></p>
<p>Well, almost… Now when you’ll push to remote repository the “feature-1” branch will be also pushed and everyone will have access to it. And your work backed up on the server.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=211&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2011/03/09/working-with-named-branches-using-tortoisehg-2-0-illustrated-workflow/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/03/clip_image002_thumb.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/03/clip_image004_thumb.jpg" medium="image">
			<media:title type="html">clip_image004</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/03/clip_image006_thumb.jpg" medium="image">
			<media:title type="html">clip_image006</media:title>
		</media:content>

		<media:content url="http://varely.files.wordpress.com/2011/03/clip_image008_thumb.jpg" medium="image">
			<media:title type="html">clip_image008</media:title>
		</media:content>
	</item>
		<item>
		<title>How can a productivity tool slow you down?</title>
		<link>http://blog.caraulean.com/2011/02/10/how-can-a-productivity-tool-slow-you-down/</link>
		<comments>http://blog.caraulean.com/2011/02/10/how-can-a-productivity-tool-slow-you-down/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 13:58:51 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2011/02/10/how-can-a-productivity-tool-slow-you-down/</guid>
		<description><![CDATA[– Easy! ReSharper 5.1 will display two IntelliSense combo boxes when you’re editing your xaml. An extremely annoying, known and yet not fixed bug&#160; reported 5 months ago… …It’s a developer oriented productivity tool. Oh my…<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=197&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>– Easy!</strong></p>
</blockquote>
<p>ReSharper 5.1 will display two IntelliSense combo boxes when you’re editing your xaml. An extremely <strong>annoying</strong>, <strong>known </strong> and <strong>yet not fixed </strong>bug&#160; <a href="http://youtrack.jetbrains.net/issue/RSRP-188608">reported 5 months ago</a>… </p>
<p>…It’s a <strong>developer oriented productivity</strong> <strong>tool</strong>. Oh my…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=197&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2011/02/10/how-can-a-productivity-tool-slow-you-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
		<item>
		<title>Telerik&#8217;s RadTabControl and Caliburn.Micro</title>
		<link>http://blog.caraulean.com/2010/12/11/teleriks-radtabcontrol-and-caliburn-micro/</link>
		<comments>http://blog.caraulean.com/2010/12/11/teleriks-radtabcontrol-and-caliburn-micro/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 00:00:54 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">https://varely.wordpress.com/2010/12/11/teleriks-radtabcontrol-and-caliburn-micro/</guid>
		<description><![CDATA[* A more complete solution is available in this blog post It contains code, examples and a NuGet package Well, again a story about having a problem, searching for a solution and finally sharing it So, this time it’s about trying to marry the RadTabControl from Telerik’s control set with Caliburn.Micro. I’m evaluating Telerik for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=193&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h6 align="right">* A more complete solution is available in <a href="http://blog.caraulean.com/2011/06/05/integration-of-caliburn-micro-and-teleriks-silverlight-controls/">this blog post</a></h6>
<h6 align="right">It contains code, examples and a NuGet package</h6>
<p>Well, again a story about having a problem, searching for a solution and finally sharing it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So, this time it’s about trying to marry the RadTabControl from Telerik’s control set with Caliburn.Micro. I’m evaluating Telerik for our pilot project in Silverlight since I would like to speed up our development process in few areas. And then we’re using happily Caliburn.Micro in it’s Silverlight flavor.</p>
<p>Scenario: a RadTabControl should contain multiple individual TabItems composed in runtime and backed each by a View Model. And it should be completely ViewModel driven.</p>
<p>Let’s start with ViewModel, as a central piece of our code:</p>
<pre class="code"><span style="color:blue;">public class </span><span style="color:#2b91af;">MainPageViewModel </span>: <span style="color:#2b91af;">Conductor</span>&lt;<span style="color:#2b91af;">IScreen</span>&gt;.<span style="color:#2b91af;">Collection</span>.<span style="color:#2b91af;">OneActive
</span>{
    <span style="color:blue;">private readonly </span><span style="color:#2b91af;">FirstTabItemViewModel </span>first;
    <span style="color:blue;">private readonly </span><span style="color:#2b91af;">SecondTabItemViewModel </span>second;

    <span style="color:blue;">public </span>MainPageViewModel(<span style="color:#2b91af;">FirstTabItemViewModel </span>first, <span style="color:#2b91af;">SecondTabItemViewModel </span>second)
    {
        <span style="color:blue;">this</span>.first = first;
        <span style="color:blue;">this</span>.second = second;
    }

    <span style="color:blue;">protected override void </span>OnInitialize()
    {
        <span style="color:blue;">base</span>.OnInitialize();
        Items.Add(first);
        Items.Add(second);

        ActivateItem(first);
    }
}</pre>
<p>Pretty straightforward. </p>
<p>Now, we have to wrap this model in a view. In better traditions of Caliburn.Micro it’s <strong>extremely succinct and simple</strong>:</p>
<pre class="code">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">telerik</span><span style="color:blue;">:</span><span style="color:#a31515;">RadTabControl </span><span style="color:red;">x</span><span style="color:blue;">:</span><span style="color:red;">Name</span><span style="color:blue;">=&quot;Items&quot;&gt;
            &lt;</span><span style="color:#a31515;">telerik</span><span style="color:blue;">:</span><span style="color:#a31515;">RadTabControl.ItemTemplate</span><span style="color:blue;">&gt;
                &lt;</span><span style="color:#a31515;">DataTemplate</span><span style="color:blue;">&gt;
                    &lt;</span><span style="color:#a31515;">TextBlock </span><span style="color:red;">Text</span><span style="color:blue;">=&quot;{</span><span style="color:#a31515;">Binding </span><span style="color:red;">DisplayName</span><span style="color:blue;">}&quot; /&gt;
                &lt;/</span><span style="color:#a31515;">DataTemplate</span><span style="color:blue;">&gt;
            &lt;/</span><span style="color:#a31515;">telerik</span><span style="color:blue;">:</span><span style="color:#a31515;">RadTabControl.ItemTemplate</span><span style="color:blue;">&gt;
        &lt;/</span><span style="color:#a31515;">telerik</span><span style="color:blue;">:</span><span style="color:#a31515;">RadTabControl</span><span style="color:blue;">&gt;

</span></pre>
<p>It looks nice, but it actually doesn’t work. Yet… Caliburn.Micro is handling this way the TabControl from WPF but that of Silverlight is horribly broken (and MS isn’t in hurry to fix it). To have it work nicely with Telerik’s Silverlight RadTabControl we have to add another convention to Caliburn to hint how he should be dealing when doing bindings for RadTabControl. The code is very similar to binding conventions for WPF’s TabControl, I’ve simply adapted it to handle new case.</p>
<p>We will be adding new convention and we should do that in our override of Configure method in our Bootstrapper. The code:</p>
<pre class="code"><span style="color:#2b91af;">ConventionManager
    </span>.AddElementConvention&lt;<span style="color:#2b91af;">RadTabControl</span>&gt;(<span style="color:#2b91af;">RadTabControl</span>.ItemsSourceProperty,
                                                      <span style="color:#a31515;">&quot;ItemsSource&quot;</span>,
                                                      <span style="color:#a31515;">&quot;SelectionChanged&quot;</span>)
    .ApplyBinding = (viewModelType, path, property, element, convention) =&gt;
    {
        <span style="color:blue;">if </span>(!<span style="color:#2b91af;">ConventionManager</span>.SetBinding(viewModelType, path, property, element, convention))
            <span style="color:blue;">return false</span>;

        <span style="color:blue;">var </span>tabControl = (<span style="color:#2b91af;">RadTabControl</span>)element;
        <span style="color:blue;">if </span>(tabControl.ContentTemplate == <span style="color:blue;">null
            </span>&amp;&amp; tabControl.ContentTemplateSelector == <span style="color:blue;">null
            </span>&amp;&amp; property.PropertyType.IsGenericType)
        {
            <span style="color:blue;">var </span>itemType = property.PropertyType.GetGenericArguments().First();
            <span style="color:blue;">if </span>(!itemType.IsValueType &amp;&amp; !<span style="color:blue;">typeof</span>(<span style="color:blue;">string</span>).IsAssignableFrom(itemType))
                tabControl.ContentTemplate = <span style="color:#2b91af;">ConventionManager</span>.DefaultItemTemplate;
        }
        <span style="color:#2b91af;">ConventionManager</span>.ConfigureSelectedItem(element,
                                                <span style="color:#2b91af;">RadTabControl</span>.SelectedItemProperty,
                                                viewModelType,
                                                path);

        <span style="color:blue;">if </span>(<span style="color:blue;">string</span>.IsNullOrEmpty(tabControl.DisplayMemberPath))
            <span style="color:#2b91af;">ConventionManager</span>.ApplyHeaderTemplate(tabControl,
                                                  <span style="color:#2b91af;">RadTabControl</span>.ItemTemplateProperty,
                                                  viewModelType);
        <span style="color:blue;">return true</span>;
    };</pre>
<p>And <strong>it works</strong>. </p>
<p>I’ve posted complete source code with my solution on GitHub, <a href="https://github.com/vcaraulean/BlogSamples/tree/master/RadTabControlAndCaliburn">RadTabControlAndCaliburn</a>.</p>
<p><strong>Update 14/04/2011</strong>: Updated convention code to work with latest Caliburn.Micro 1.0 RTW.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/193/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=193&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2010/12/11/teleriks-radtabcontrol-and-caliburn-micro/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
		<item>
		<title>No luck with tools lately&#8230;</title>
		<link>http://blog.caraulean.com/2008/08/13/no-luck-with-tools-lately/</link>
		<comments>http://blog.caraulean.com/2008/08/13/no-luck-with-tools-lately/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 12:22:28 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://varely.wordpress.com/2008/08/13/no-luck-with-tools-lately/</guid>
		<description><![CDATA[AnkhSVN A mate came on me with &#8220;I found a wonderful SVN client which works from Visual Studio. It&#8217;s called AnkhSVN&#8220;. When I tried it last time it was in version 1.x, ugly &#38; buggy. Having a well working TortoiseSVN I had no regrets uninstalling it. Lately it passed a major update. It looks nicer, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=29&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>AnkhSVN</h4>
<p>A mate came on me with &#8220;I found a wonderful SVN client which works from Visual Studio. It&#8217;s called <a href="http://ankhsvn.open.collab.net/">AnkhSVN</a>&#8220;. When I tried it last time it was in version 1.x, ugly &amp; buggy. Having a well working TortoiseSVN I had no regrets uninstalling it. </p>
<p>Lately it passed a major update. It looks nicer, integrates well in VS and has all functions required for day-by-day work with Subversion. The mate who recommended it said that he found no problems during a week of trying it. </p>
<p>Ok. Having a refactoring to do that will involve moving few files I decided to give it a try. Moving/renaming files is one of the pain points when working with TortoiseSVN. After committing my changes to repository, the TeamCity server failed to build the project &#8211; few files was missing or had unmodified content when it should. AnkhSVN didn&#8217;t committed all changed files to repository. In VS they was shown as unmodified, but TortoiseSVN show them as changed files. A commit from TortoiseSVN has fixed the problem. </p>
<p>Still in doubts about it, worth keeping or not&#8230;</p>
<p>&nbsp;</p>
<h4>MBUnit Plugin for Resharper</h4>
<p>I wanted to run test suite of Rhino.Mocks which uses MBUnit. First try &#8211; installed last version of <a href="http://code.google.com/p/mbunit-resharper/">MBUnit plugin for Resharper</a>. It worked nice when I run a single test fixture. But failed to find any tests when I choose &#8220;Run Unit Tests&#8221; from context menu of a project or solution. Uninstalled.</p>
<p>&nbsp;</p>
<h4>Gallio Automation platform</h4>
<p>Still wanted to run the Rhino.Mocks&#8217;s unit tests, installed <a href="http://www.gallio.org/">Gallio</a> a bundle that contains among others the MBUnit, a standalone test runner and yet another MBUnit integration into Resharper&#8217;s Test Runner. Results:</p>
<ul>
<li>Integration with Resharper: didn&#8217;t discovered all test from test project, cannot run those discovered.</li>
<li>Standalone test runner &#8211; cannot run test suite, FixtureExecutionException.</li>
</ul>
<h3></h3>
<p>The last two tools concerns MBUnit. All I wanted to do is just to run quickly a test suite. I can do it from console, but it&#8217;s painful and I want to do it from VS and have results there. I can do it with TestDriven.NET &#8211; but I don&#8217;t like it because found it too intrusive in my work environment. I think this is the reason why we haven&#8217;t moved to MBUnit from NUnit. It&#8217;s it superior as unit test framework, but weak tooling support make it unusable for us.</p>
<p>&amp; no time now to check what is not working and how to fix it. May be later&#8230;</p>
<p>PS: I&#8217;ve seen it one more time: It&#8217;s very important the very first impression about something to be positive. If somebody tries your software and it blows up or doesn&#8217;t do what is it about, you fail. But this is another story&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/varely.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/varely.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=29&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2008/08/13/no-luck-with-tools-lately/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
		<item>
		<title>TortoiseSVN 1.5.x cannot start on Vista because of &quot;Dependent Assembly Microsoft.VC90.CRT could not be found&quot; error</title>
		<link>http://blog.caraulean.com/2008/08/05/tortoisesvn-15x-cannot-start-on-vista-because-of-dependent-assembly-microsoftvc90crt-could-not-be-found-error/</link>
		<comments>http://blog.caraulean.com/2008/08/05/tortoisesvn-15x-cannot-start-on-vista-because-of-dependent-assembly-microsoftvc90crt-could-not-be-found-error/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 09:40:30 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://varely.wordpress.com/2008/08/05/tortoisesvn-15x-cannot-start-on-vista-because-of-dependent-assembly-microsoftvc90crt-could-not-be-found-error/</guid>
		<description><![CDATA[After installation on my Vista box, TortoiseSVN cannot start, giving an entry in event log that says: Activation context generation failed for &#8220;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&#8221;. Dependent Assembly Microsoft.VC90.CRT,processorArchitecture=&#8221;x86&#8243;,publicKeyToken=&#8221;1fc8b3b9a1e18e3b&#8221;,type=&#8221;win32&#8243;,version=&#8221;9.0.30411.0&#8243; could not be found. At first sight, the missing &#8220;Microsoft.VC90&#8243; points to absence of Visual C++ Redistributable Package. Installing all of his versions didn&#8217;t help. After trying to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=24&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After installation on my Vista box, TortoiseSVN cannot start, giving an entry in event log that says: </p>
<blockquote><p>Activation context generation failed for &#8220;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&#8221;. Dependent Assembly Microsoft.VC90.CRT,processorArchitecture=&#8221;x86&#8243;,publicKeyToken=&#8221;1fc8b3b9a1e18e3b&#8221;,type=&#8221;win32&#8243;,version=&#8221;9.0.30411.0&#8243; could not be found. </p>
</blockquote>
<p>At first sight, the missing &#8220;Microsoft.VC90&#8243; points to absence of Visual C++ Redistributable Package. Installing all of his versions didn&#8217;t help. After trying to work out this error, it magically disappeared and TortoiseSVN started successfully and worked well&#8230;</p>
<p>&#8230;until today, when I&#8217;ve upgraded to 1.5.2. Same error. Didn&#8217;t want to start. Now on two PC&#8217;s from office.</p>
<p>After searching for solution, found on a TortoiseSVN&#8217;s discussion lists a recipe that worked OK for me. I&#8217;ll cite it here with explanation, is given by Stefan Küng, one of TortoiseSVN developers:</p>
<blockquote><p>try this: <br />uninstall TSVN, reboot, install it again.
<p>There&#8217;s a problem with the new CRT merge module from MS: it does not recognize always that is has to update itself.</p>
</blockquote>
<p>The good old way: uninstall, reboot, install. So windows95-ish. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/varely.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/varely.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=24&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2008/08/05/tortoisesvn-15x-cannot-start-on-vista-because-of-dependent-assembly-microsoftvc90crt-could-not-be-found-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick tips &amp; tricks. BDD test naming macro.</title>
		<link>http://blog.caraulean.com/2008/04/15/quick-tips-tricks-bdd-test-naming-macro/</link>
		<comments>http://blog.caraulean.com/2008/04/15/quick-tips-tricks-bdd-test-naming-macro/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 08:34:10 +0000</pubDate>
		<dc:creator>Valeriu Caraulean</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://varely.wordpress.com/2008/04/15/quick-tips-tricks-bdd-test-naming-macro/</guid>
		<description><![CDATA[This time it&#8217;s about useful macro that speeds up writing test names. Although we&#8217;re not using yet BDD development style (BDD is for Behavior Driven Design) I like to give to my test BDD-style names. You know, something like [Test] public void When_user_pressed_OK_message_should_be_prepared_and_sent() { } Writing down these names, when words are separated by underscores [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=18&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This time it&#8217;s about useful macro that speeds up writing test names. Although we&#8217;re not using yet BDD development style (BDD is for Behavior Driven Design) I like to give to my test BDD-style names. You know, something like </p>
<pre>[<span style="color:#2b91af;">Test</span>]
<span style="color:blue;">public void </span>When_user_pressed_OK_message_should_be_prepared_and_sent()
{
}</pre>
<p>Writing down these names, when words are separated by underscores is not easy and error prone.</p>
<p>Fortunately, <a href="http://codebetter.com/blogs/jean-paul_boodhoo/">Jean-Paul S. Boodhoo</a> has posted in his blog an updated macro for formatting test names in BDD-style manner:</p>
<ul>
<li><a href="http://codebetter.com/blogs/jean-paul_boodhoo/archive/2008/04/14/bdd-test-naming-macro-speed-update.aspx">BDD Test Naming Macro &#8211; Speed Update</a></li>
</ul>
<p>Using this macro you can write test name as an usual sentence, having words separated by spaces. After running the macro it will replace all space characters by underscores.</p>
<p>For me it was first macro written for Visual Studio, but after some rambling within VS I have the macro running and working well. Thereafter, found these links than can help to setup and use VS macros:</p>
<ul>
<li><a href="http://www.helixoft.com/blog/archives/6">How To Create and Run Macro in Visual Studio .NET</a></li>
<li><a href="http://www.helixoft.com/blog/archives/8">Assigning a Keyboard Shortcut to Macro in VS</a></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/varely.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/varely.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/varely.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/varely.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/varely.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/varely.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/varely.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/varely.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/varely.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/varely.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.caraulean.com&amp;blog=1485392&amp;post=18&amp;subd=varely&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.caraulean.com/2008/04/15/quick-tips-tricks-bdd-test-naming-macro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d96a7814c830eb5ee8e12b677212cae?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">varely</media:title>
		</media:content>
	</item>
	</channel>
</rss>
