I'm a complete noob at Mercurial API and Python, but I'm trying to write a useful extension for myself and my colleagues now.
Let's assume I have a repository which contains some code and an auxiliary file .hgdata
. The code and .hgdata
are both under Mercurial's control. When I execute a command pull-extended
which is provided by my extension, I want it to make a pull and then to analyze the state of a .hgdata
and probably make some additional actions. The problem is that when my command is invoked, it just pulls the incoming changesets, but it can't look into the actual .hgdata
without making a preceding repository update. Is there any way to watch the after update .hgdata
besides repository update?