chgserver: discard buffered output before restoring fds (
issue6207)
On Python 3, flush() appears not discarding buffered data on EPIPE, and
the buffered data will be carried over to the restored stdout.
Added signature for changeset
28163c5de797
Added tag 5.5rc0 for changeset
28163c5de797
phases: move short-lived PyObject pointers to local scope
It helps understand which object should be decrefed on goto release.
phases: rename variable used for owned dict of phasesets
The phaseroots variable is used for two different objects: borrowed set
and owned dict of sets. It's hard to track which object should have to be
decrefed on error return.