merging chg into contrib tree?

Yuya Nishihara yuya at tcha.org
Tue Nov 3 03:45:42 CST 2015


On Mon, 02 Nov 2015 10:34:09 -0800, Sean Farley wrote:
> >  2. source layout
> >
> >     (frontend)
> >     contrib/chg/Makefile
> >                 README
> >                 chg.c
> >                 hgclient.[ch]
> >                 util.[ch]
> >     (server)
> >     hgext/chgserver.py
> >     mercurial/osutil.c <- chgutil.c
> 
> Are you saying add chgutil.c functions to osutil.c?

Yes. chg needs two CPython functions, which are a kind of native operation
system functions:

 - "recvfds" receives client's file descriptors by recvmsg()
   (can't be done by socket module of Python < 3.3)

 - "setfilebufmode" reinitializes buffering mode of file objects
   (this might be replaced by re-fdopen() hack I introduced at 62c5e937f477)


More information about the Mercurial-devel mailing list