Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!xmission!nnrp.xmission!not-for-mail From: Jason Earl Newsgroups: comp.lang.python Subject: Re: Development tools and practices for Pythonistas Date: Sun, 01 May 2011 14:51:56 -0600 Organization: XMission http://xmission.com/ Lines: 29 Message-ID: <87mxj6kutv.fsf@notengoamigos.org> 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: jearl.fttp.xmission.com Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.xmission.com 1304283116 24256 166.70.233.10 (1 May 2011 20:51:56 GMT) X-Complaints-To: abuse@xmission.com NNTP-Posting-Date: Sun, 1 May 2011 20:51:56 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlw SFlzAAASmwAAEpsB4JJZDAAAAAl2cEFnAAAAMAAAADAAzu6MVwAAAaFJREFUSMe1VtuxxSAIzIz9 2Iyl2Aj1bBX0k5+LrwjGjJyPy2ROwtGNBJbVCwwwy1UNoOL3f+SBxkj15Lr4NsboN24DWMZxYQNA TjGmjC1gswJiqBbpDeANYMwXBFyAFB5L7ADMBcoSDgAFBSDHR2tA8ABMSB4AawB76pAnILsKx2lm 1VfpgUi3kxrySylRHdmQj40Jva2/jl8EY3Twv/phhsC9nIQR0hnAOUptYsL3RxvAk+YIH2AWsvTH GYBgKn8GaPYm5jNANaCQ8WfAzyH9x0crFfGl9X4QVdg8gEqN2KjBHi6V/iBq6iyAxTqd+Yvupwai VwM9LZkxQ6otihmS6H+mHlK5URwi0UQgWxHoxS5JagBSed7IzJRCallS2pg2QsamcGUFNSHgLZUv augJIUualv1Bv6+yVat1oeMq92s/mBBWQJH7dQX7CnpvWWs/4CazpHlB2RR1BFSzNGdIaTbbLil8 U76BKKU0GztapXP3C78bNYQ6MTQybY8OkIaITf9HPzyHkXE4YXs4mf5VDz+jAepj3RTQ3Ubv0SPy 9AcCrfKh0TBgvgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMC0wNC0zMFQyMzo1NDo0My0wNjowMKID BVQAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTAtMDQtMzBUMjM6NTQ6NDItMDY6MDB1KbZcAAAAAElF TkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ZCDLFqQehhck9yr9N39wIdtlorQ= Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4416 On Sun, May 01 2011, Dietmar Schwertberger wrote: > Am 01.05.2011 02:47, schrieb Shawn Milochik: >> Look at the big two sites for open-source repositories -- github and >> bitbucket. One's git, the other Mercurial. I don't think you can go >> wrong picking either one. > > Can any of those be used from Python as a library, i.e. something like > import Hg > r = Hg.open(path) > > When I had a look at Mercurial, which is implemented in Python, it was > implemented in a way that I could not do that. It was implemented as > rather monolithic program which could be used from os.system(...) > only. > > With a good API, I could easily have integrated it into my development > flow. I have a codebase which is shared between different projects and > there are many small changes on many different PCs. In theory a > distributed VCS is good at supporting that, but in practice I went > back to my lightweight synchronization scripts and file storage > again. With the API, I could have best of both worlds. You should take a look at Bazaar. I found it fairly easy to use bzrlib from my own Python scripts. http://people.canonical.com/~mwh/bzrlibapi/ Jason