[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-dev
Subject:    Re: [Python-Dev] Mercurial conversion repositories
From:       Daniel Stutzbach <stutzbach () google ! com>
Date:       2011-02-26 18:40:03
Message-ID: AANLkTimhsnQe4JtLcPaAUo6FOk5-5=TBNFMYSWsOQpM- () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sat, Feb 26, 2011 at 9:55 AM, Antoine Pitrou <solipsis@pitrou.net> wrote:

> There is no such thing as an "unnamed branch". What would "hg branches"
> show? An empty space?
>

I understand now why I was confused.  I had previously read the sentence
"Both Git and Mercurial support unnamed local branches." at
http://mercurial.selenic.com/wiki/BranchingExplained

But as I dig deeper, I see that there is only one unnamed branch, and it
actually does have an implicit name: "default".

It appears Mercurial supports at least three different kinds of branching:
cloning (similar to Bazaar), bookmarks (similar to git), and named branches.
 So a named branch can contain more than one branch.

Were there reasons for going with named branches over bookmarks?  PEP 385
discusses only cloning and named branches.  I'm just curious, not trying to
start a long discussion. :-)

-- 
Daniel Stutzbach

[Attachment #5 (text/html)]

<div class="gmail_quote">On Sat, Feb 26, 2011 at 9:55 AM, Antoine Pitrou <span \
dir="ltr">&lt;<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> There is no such thing as an &quot;unnamed \
branch&quot;. What would &quot;hg branches&quot;<br> show? An empty \
space?<br></blockquote><div><br></div><div>I understand now why I was confused.   I \
had previously read the sentence &quot;Both Git and Mercurial support unnamed local \
branches.&quot; at  <a \
href="http://mercurial.selenic.com/wiki/BranchingExplained">http://mercurial.selenic.com/wiki/BranchingExplained</a></div>
 <div><br></div><div>But as I dig deeper, I see that there is only one unnamed \
branch, and it actually does have an implicit name: \
&quot;default&quot;.</div><div><br></div><div>It appears Mercurial supports at least \
three different kinds of branching: cloning (similar to Bazaar), bookmarks (similar \
to git), and named branches.   So a named branch can contain more than one \
branch.</div> <div><br></div><div>Were there reasons for going with named branches \
over bookmarks?   PEP 385 discusses only cloning and named branches.   I&#39;m just \
curious, not trying to start a long discussion. :-)</div></div><br>-- <br> Daniel \
Stutzbach<br>



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic