Reading Mercurial History into Python
June 15, 2010
I wanted to read my mercurial repository history into python, so that I could display it in a Django web front end. Here's the process by which we can read in the history and put it into a tuple of (revision number, changeset, user, date, comment)
import subprocess import datetime …