[PATCH] chgserver: use old ui.system if fout is not stdout or needs to be captured

Jun Wu quark at fb.com
Sat Mar 19 14:07:41 EDT 2016


On 03/18/2016 06:34 PM, Jun Wu wrote:
 > +               self.fout.getattr('fileno', -1) != sys.stdout.fileno():

Sorry, I was writing this in a hurry. It's wrong because "getattr" should not 
be used like this and fileno should be called. Will send V2.


More information about the Mercurial-devel mailing list