How to get the first changeset commited to a repo

Sébastien Pierre sebastien at xprima.com
Tue May 2 10:05:16 CDT 2006


Hi all,

I would like to know how to use the Python API to get the first
changeset commited to a repository. Using the "commands" module does not
seem appropriate for that, while the "localrepo" module seems more
appropriate.

However, I expected something like repo.changeset(revision=0) that would
return me the description of the changeset (I want the commit sig), but
could not find it.

Any ideas ?

 -- Sébastien




More information about the Mercurial mailing list