Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news.osn.de!diablo2.news.osn.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Dietmar Schwertberger Newsgroups: comp.lang.python Subject: Re: Development tools and practices for Pythonistas Date: Mon, 02 May 2011 19:40:04 +0200 Organization: 1&1 Internet AG Lines: 23 Message-ID: References: <58a6bb1b-a98e-4c4a-86ea-09e040cb2d21@r35g2000prj.googlegroups.com> <877hagoa0u.fsf@benfinney.id.au> <00dr88-846.ln1@svn.schaathun.net> <87mxj8ir4u.fsf@benfinney.id.au> <87ei4ji7eu.fsf@benfinney.id.au> NNTP-Posting-Host: port-92-194-91-22.dynamic.qsc.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: online.de 1304358415 19656 92.194.91.22 (2 May 2011 17:46:55 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Mon, 2 May 2011 17:46:55 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4490 Am 02.05.2011 01:33, schrieb David Boddie: > After noting the warnings it contains, see the following page for a > description of the Python API for Mercurial: > > http://mercurial.selenic.com/wiki/MercurialApi Ah, yes, no need to use os.sytem(), but all in all not much difference from doing so (and usage of CLI is recommended instead of using the API). I had a look at this page in 2009 and came to the conclusion that it's no good idea to use Mercurial as library. Seems that this still holds true. > Git also has a Python API, which is fairly reasonable to use, though a bit > different to the Mercurial one: > > http://www.samba.org/~jelmer/dulwich/ That looks more promising to me. I think I will try this and Bazaar to find which fits my needs better. Regards, Dietmar