[Python-Dev] Draft PEP 385: Migrating from svn to Mercurial

Georg Brandl g.brandl at gmx.net
Sat Jun 6 19:43:44 CEST 2009


Antoine Pitrou schrieb:
> Dirkjan Ochtman <dirkjan <at> ochtman.nl> writes:
>> 
>> http://www.python.org/dev/peps/pep-0385/
> 
> « [cloned branches] makes it easier to distinguish branches, at the expense of
> requiring more disk space on the client. »
> 
> This is a bit misleading. Actually, by separating branches into distinct
> repositories, you can save quite a bit of repository space. It really depends on
> the structure of the project and your own workflow.

If you follow the "strict-subset" policy (which I would strongly recommend, from
my experience) you'll end up with both branches in the trunk repo anyway.

> « This reflects that the default branch in hg is called 'default' instead of
> Subversion's 'trunk', and reflects the proposed new tag format. »
>
> If we use several distinct repositories, the default branch should instead
> mirror the repository name (like what is done in the current hg mirrors:
> "trunk", "py3k", etc.).

+1.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list