[PATCH] schemes extension

Alexander Solovyov piranha at piranha.org.ua
Tue Nov 24 10:16:24 CST 2009


On Tue, Nov 24, 2009 at 6:04 PM, Augie Fackler <durin42 at gmail.com> wrote:
>>> +The syntax is taken from Mercurial templates, there are two variables present,
>>> +namely {project} and {repo}, which are determined from the url you're supplying:
>>> +gcode://project/repo.
>>> +"""
>>
>> And I'm not sure about this part... Does {project} and {repo} sound like an
>> appropriate choice here? It's user and repo in case of bitbucket, for
>> example. Maybe I should use something like {parent} and {path} here?
>
> I'd rather not use {parent} here - it really is project, since there
> are also "user clones" on Google Code now, which have a notion of a
> parent repository that is different.

Yep, {parent} is not a good name, but for bitbucket:
bitbucket.org/{project}/{repo}
It's not a project. Though... I have no problems with leaving it as is.

-- 
Alexander


More information about the Mercurial-devel mailing list