python hglib missing features

Barry Scott barry at barrys-emacs.org
Thu Oct 6 08:56:56 UTC 2016


I wish to know if Mercurial project is willing to take patches to add missing 
features to hglib for Python?

I am writing a GUI interface to hg that needs support in hglib that is 
missing.

1. Provided 'o'utput and 'e'rror data to the call of hglib as it arrives.

2. Handle the 'L'ine protocol element to call back into the user of hglib to 
provided the required input.

(1) will allow for the GUI to present the user with info from hg commands.
It will also allow detecting that prompts that caused 'L'ine request, for
example user/pass prompts.

As hglib is structured at the moment there is not a simple way for a caller
to get hold of 'o'utput and 'e'rror data or be notified of an 'L'ine requires.

I you are will to take patches what is the process you need me to follow
for hglib?

Barry



More information about the Mercurial mailing list