[Buildbot-devel] State of Mercurial support

Benoît Allard benoit at aeteurope.nl
Wed Sep 10 15:16:44 UTC 2008


Sebastien Douche wrote:
> Hi there :),
> We migrate here from Subversion to Mercurial (really nice). Apparently
> the last version Buildbot (0.7.8) did not follow the last evolutions
> of Mercurial :(.
> Some problems with hgbuildbot.py:
> 
> - Extract method doesn't exist anymore
> http://buildbot.net/trac/ticket/328

This has been fixed (there was actually three (identical) tickets about 
that).

> 
> - I have trouble with branch = dirname
> I have always the root Hg directory and not the common package
> directory. Original code use os.path method, I prefer the most robust
> Mercurial repo.root(), like:
>>>> root_path = repo.root.split('/')[-2:]
>>>> branch=os.path.join(root_path[0], root_path[1])

There are also tickets about that.

> 
> More generally, Mercurial's API is rather complete, it's a good way to
> exploit it.
> 
> I will make more tests (commissioning this week, start up next monday)
> 
> PS: if we migrate, no soucy to be a maintener (i.e. Mercurial scripts
> and Trac tickets).
> 

BTW there is a nice trac plugin for integration of a Mercurial
repository.

Right now, It's really unclear to me which repository is the main one 
(If there is one). Dustin seems to be working on git, Brian on Darcs 
(sometime backporting to CVS), and I felt once on a ticket from Brian 
talking about the trac plugin mentionned above.

I could help improving the Mercurial integration.

Regards,
Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://buildbot.net/pipermail/devel/attachments/20080910/b092b0fa/attachment.bin>


More information about the devel mailing list