I have a local copy of mercurial repository "proj1". I want get incoming changes using The Mercurial API via python script. I tried make it like that:
from mercurial import hg, ui, commands, util, scmutil, httpconnection
repopath = "/home/username/develop/hg_repo"
myui = ui.ui()
repo = hg.repository(myui, repopath)
commands.incoming(myui, repo)
This code failed with message:
mercurial.error.RepoError: storage default not found
But commands.summary(...), commands.branch(...), commands.branches(...) is working OK.
Can you help me? Thanks.
PS: Sorry for my english