n00b questions
dkarbott at comcast.net
dkarbott at comcast.net
Sun Jul 6 14:03:24 CDT 2008
I've been exploring the hg api and I had a couple of questions which I was
hoping people on the list might be able to answer.
1. What is the mime type commonly used for mercurial bundles?
2. Is there any difference between reading a bundle with 'pull' or
with 'unbundle'? or in 1.0 'clone' ing from it?
3. Are there any good examples out there of scripts / programs which create
incremental update bundles? i.e. I want to incrementally create a sequence
of bundles with non-overlapping changesets such that you can re-create a
mirror of the repository by pulling them in order. It seems like someone
else must have attacked this problem.
I've written some code which does this, essentially by using the previous tip
as the --base value for the update bundle, but I wonder if I'm going to get
into trouble for repos with multiple heads.
4. Is there any easy way for Windows users to get access to the python API
without building mercurial from source?
I tried pulling the library.zip file out of the binary distribution here:
http://mercurial.berkwood.com/
But I get an import erro for mercurial.revlog on bdiff.
I'm assuming that's because I'm using ActiveState python, and the binary
distro was probably build with another compiler so the .pyd's won't load.
Any info would be much appreciated.
-- Darrell
More information about the Mercurial
mailing list