[darcs-users] darcs middleweight branching (aka in-repo branches)

Max Battcher max.battcher at gmail.com
Sun Apr 8 17:00:05 UTC 2012


On 3/31/2012 2:26 AM, Eric Kow wrote:
> On 30 Mar 2012, at 22:40, Michael Hendricks wrote:
>
>> Spontaneous branches are one of my favorite Darcs features: flyweight branching, if you will.  Of course, Darcs also supports heavyweight branching by creating a new repository with "darcs get".  I've often wanted middleweight branching or "cheap in-repo local branches" (as issue555 calls them).  This has been a request since 2007.

I'm glad to see this as an external script and still see it as a great 
plugin opportunity to keep in-repo branching out of darcs core.

> 3. branch addressing is one issue we haven't really thought about.  You know Git, somebody could maybe go research Hg and Bzr and see how they do it.

I still think the best way for branch addressing would be to address 
inventory/context files directly rather than add a new syntax for it.

If it still seems necessary to add a syntax for branching, or to have a 
shortcut syntax for inventory/context address patterns, I'd throw my 2 
cents towards using the existing URI Fragment indicator (#), instead of 
some other ad hoc punctuation:

http://your-host.example/repo/#branch
user at your-host.example:repo/#branch

-- 
--Max Battcher--
http://worldmaker.net


More information about the darcs-users mailing list