<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Translating my Git workflow with local branches to Mercurial</title>
	<atom:link href="http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/</link>
	<description>Strong opinions, weakly held</description>
	<lastBuildDate>Sun, 19 May 2013 03:22:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2471</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Thu, 17 Jun 2010 12:27:50 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2471</guid>
		<description>@venizio

I&#039;d heard of patches, but I haven&#039;t found a real good source of information on how it compares to local branches + rebasing.  For example, with Git, I always work in a local branch.  I don&#039;t decide on what queue to put it in, I&#039;m just working on a certain topic.  Looks like I need to investigate more.</description>
		<content:encoded><![CDATA[<p>@venizio</p>
<p>I&#8217;d heard of patches, but I haven&#8217;t found a real good source of information on how it compares to local branches + rebasing.  For example, with Git, I always work in a local branch.  I don&#8217;t decide on what queue to put it in, I&#8217;m just working on a certain topic.  Looks like I need to investigate more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venizio krups</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2470</link>
		<dc:creator>venizio krups</dc:creator>
		<pubDate>Wed, 16 Jun 2010 13:29:39 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2470</guid>
		<description>you can also do the same with mq, and keep refreshing the patches as you go along. when it&#039;s time for a &quot;changeset&quot; just queue up another patch on top of that one and keep working. when you&#039;re done, decide where on the tree these commits should go, and hg qfinalize. 

let&#039;s say now that you have been basing your queue on changeset x, and by commit time you realize that changeset y should be the parent. so you just hg up y, and apply the queue. if there are conflicts, you can go back to x, apply, and with the queue in place go back to y. mercurial will do the merging onto the patches for you! and you can just apply. very flexible.

hope this makes sense.
</description>
		<content:encoded><![CDATA[<p>you can also do the same with mq, and keep refreshing the patches as you go along. when it&#8217;s time for a &#8220;changeset&#8221; just queue up another patch on top of that one and keep working. when you&#8217;re done, decide where on the tree these commits should go, and hg qfinalize. </p>
<p>let&#8217;s say now that you have been basing your queue on changeset x, and by commit time you realize that changeset y should be the parent. so you just hg up y, and apply the queue. if there are conflicts, you can go back to x, apply, and with the queue in place go back to y. mercurial will do the merging onto the patches for you! and you can just apply. very flexible.</p>
<p>hope this makes sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Rudolph</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2469</link>
		<dc:creator>Johannes Rudolph</dc:creator>
		<pubDate>Tue, 15 Jun 2010 16:19:03 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2469</guid>
		<description>I don&#039;t find juggling around with ref#&#039;s inconvenient, so I&#039;m happy with what mercurial brings to the table. Especially when I have a graphical repo-browser. 

The git workflow is appealing though, however it requires me to know about the behavior (when are they moved etc.) of all those revision bookmarks. 

However, writing a mercurial extension that keeps track of you bookmarks shouldn&#039;t be all too difficult. Did I ever mention I wanted to learn python anyway ;-)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t find juggling around with ref#&#8217;s inconvenient, so I&#8217;m happy with what mercurial brings to the table. Especially when I have a graphical repo-browser. </p>
<p>The git workflow is appealing though, however it requires me to know about the behavior (when are they moved etc.) of all those revision bookmarks. </p>
<p>However, writing a mercurial extension that keeps track of you bookmarks shouldn&#8217;t be all too difficult. Did I ever mention I wanted to learn python anyway <img src='http://lostechies.com/jimmybogard/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2468</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Tue, 08 Jun 2010 17:32:26 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2468</guid>
		<description>@Johannes

In the anonymous branch case, suppose I do 5 commits, then a bug comes in.

In Git, I would now switch back to &quot;master&quot;, do a pull --rebase, then start THAT work on another local branch.  How would I switch back to &quot;master&quot; in the anonymous branching case?

I couldn&#039;t find a way, which is why I went for the bookmark of &quot;master&quot; that tracks the local &quot;trunk&quot; (mirroring the remote default branch).  I don&#039;t want to go just based on ref #&#039;s to &quot;figure out&quot; where I should rewind time to.</description>
		<content:encoded><![CDATA[<p>@Johannes</p>
<p>In the anonymous branch case, suppose I do 5 commits, then a bug comes in.</p>
<p>In Git, I would now switch back to &#8220;master&#8221;, do a pull &#8211;rebase, then start THAT work on another local branch.  How would I switch back to &#8220;master&#8221; in the anonymous branching case?</p>
<p>I couldn&#8217;t find a way, which is why I went for the bookmark of &#8220;master&#8221; that tracks the local &#8220;trunk&#8221; (mirroring the remote default branch).  I don&#8217;t want to go just based on ref #&#8217;s to &#8220;figure out&#8221; where I should rewind time to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Rudolph</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2467</link>
		<dc:creator>Johannes Rudolph</dc:creator>
		<pubDate>Tue, 08 Jun 2010 14:27:18 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2467</guid>
		<description>@Jimmy: As as I can tell you should be fine with anonymous branching plus bookmarks for branch tips. The only thing you would
miss compared to git is the pointer to the branch origin (the fork rev), but since you&#039;ve got your repository browser open all the time anyway you don&#039;t really need that. All mercurial commands will handle anonymous branches transparently. 

I dont see any scenario git supports that hg doesnt (in terms of branching). 


&gt;.but one thing about Git branches is that I don&#039;t have to decide up front the nature of work I&#039;m doing.

Thats actually a case for anonymous branches as hg has them. You can name a branch anytime via bookmark. 

Named branches aren&#039;t for short but rather for long lived branches (such as trunk and stable). </description>
		<content:encoded><![CDATA[<p>@Jimmy: As as I can tell you should be fine with anonymous branching plus bookmarks for branch tips. The only thing you would<br />
miss compared to git is the pointer to the branch origin (the fork rev), but since you&#8217;ve got your repository browser open all the time anyway you don&#8217;t really need that. All mercurial commands will handle anonymous branches transparently. </p>
<p>I dont see any scenario git supports that hg doesnt (in terms of branching). </p>
<p>>.but one thing about Git branches is that I don&#8217;t have to decide up front the nature of work I&#8217;m doing.</p>
<p>Thats actually a case for anonymous branches as hg has them. You can name a branch anytime via bookmark. </p>
<p>Named branches aren&#8217;t for short but rather for long lived branches (such as trunk and stable). </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2466</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Fri, 04 Jun 2010 00:34:03 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2466</guid>
		<description>@Brent

I&#039;m still very new to Hg, so I think my next attempt will be to do named branches.  Named branches + rebase might also do the trick as well.</description>
		<content:encoded><![CDATA[<p>@Brent</p>
<p>I&#8217;m still very new to Hg, so I think my next attempt will be to do named branches.  Named branches + rebase might also do the trick as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2465</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 03 Jun 2010 23:08:08 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2465</guid>
		<description>Jimmy,

Nice writeup.  I always enjoy seeing other workflows like this. Any particular reason you&#039;re staying away from named branches?  Is it due to the fact they live in your revision history?</description>
		<content:encoded><![CDATA[<p>Jimmy,</p>
<p>Nice writeup.  I always enjoy seeing other workflows like this. Any particular reason you&#8217;re staying away from named branches?  Is it due to the fact they live in your revision history?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2464</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Thu, 03 Jun 2010 12:35:30 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2464</guid>
		<description>@Johannes

I think this is one of those &quot;to each their own&quot; things.  Git branching is about as simple as can be, as a Git branch is simply a named pointer to a commit.  Hg branches are much more intrusive, as that metadata lives with each commit.  I&#039;ve never personally had to remember where things go, I just look at my repository browser to visualize it.  Anyway, Git is super smart about that kind of thing.

I&#039;m not necessarily trying to replicate my Git workflow, but rather, the workflow I use which Git supports.  I&#039;ll take a look at anonymous branching....but one thing about Git branches is that I don&#039;t have to decide up front the nature of work I&#039;m doing.</description>
		<content:encoded><![CDATA[<p>@Johannes</p>
<p>I think this is one of those &#8220;to each their own&#8221; things.  Git branching is about as simple as can be, as a Git branch is simply a named pointer to a commit.  Hg branches are much more intrusive, as that metadata lives with each commit.  I&#8217;ve never personally had to remember where things go, I just look at my repository browser to visualize it.  Anyway, Git is super smart about that kind of thing.</p>
<p>I&#8217;m not necessarily trying to replicate my Git workflow, but rather, the workflow I use which Git supports.  I&#8217;ll take a look at anonymous branching&#8230;.but one thing about Git branches is that I don&#8217;t have to decide up front the nature of work I&#8217;m doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2463</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Thu, 03 Jun 2010 12:27:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2463</guid>
		<description>@Brian

It&#039;s not just to stay in the same directory. It&#039;s to stay in the same repository.  For me, it&#039;s important to visualize the history to understand what came where, so I keep the repo browser open 100% of the time.  When I have three branches open, but in separate folders, I don&#039;t really have one view of where they all came from.</description>
		<content:encoded><![CDATA[<p>@Brian</p>
<p>It&#8217;s not just to stay in the same directory. It&#8217;s to stay in the same repository.  For me, it&#8217;s important to visualize the history to understand what came where, so I keep the repo browser open 100% of the time.  When I have three branches open, but in separate folders, I don&#8217;t really have one view of where they all came from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/#comment-2462</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Thu, 03 Jun 2010 12:24:50 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2010/06/02/translating-my-git-workflow-with-local-branches-to-mercurial.aspx#comment-2462</guid>
		<description>@Chris

Single directory = single repository.  It&#039;s really not hard to switch items in a local repo, that&#039;s what hg update is for.  Git does it very easily, I don&#039;t see why Hg should be any different.  With a single repo, I can now view ALL the work going on in my repository, instead of looking across all my separate, local forks.  Coming from the Git side, this is extremely useful.</description>
		<content:encoded><![CDATA[<p>@Chris</p>
<p>Single directory = single repository.  It&#8217;s really not hard to switch items in a local repo, that&#8217;s what hg update is for.  Git does it very easily, I don&#8217;t see why Hg should be any different.  With a single repo, I can now view ALL the work going on in my repository, instead of looking across all my separate, local forks.  Coming from the Git side, this is extremely useful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
