issue1977 already has a fix proposed by mpm: http://mercurial.selenic.com/bts/issue1977 but it seems it didn't get pushed. The first patch on this series updates test output if/when the proposed patch gets applied; the other adds a specific test for this issue. Regards, Wagner