[Bug 6333] New: I/O operation on closed file when piping `hg log` to head on Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 6333] New: I/O operation on closed file when piping `hg log` to head on Windows

mercurial-bugs-2
https://bz.mercurial-scm.org/show_bug.cgi?id=6333

            Bug ID: 6333
           Summary: I/O operation on closed file when piping `hg log` to
                    head on Windows
           Product: Mercurial
           Version: 5.0.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
    Python Version: ---

This seems similar to the old bug #185.

If I pipe `hg log | head` on Windows, I get this:

```
<my expected log head, then...>
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64
bit (AMD64)]
** Mercurial Distributed SCM (version 5.0.2)
** Extensions loaded: hggit, evolve, extdiff, record, rebase, shelve, convert
Traceback (most recent call last):
  File "hg", line 50, in <module>
  File "mercurial\dispatch.pyo", line 99, in run
  File "mercurial\dispatch.pyo", line 248, in dispatch
  File "mercurial\ui.pyo", line 1098, in flush
  File "mercurial\windows.pyo", line 212, in flush
ValueError: I/O operation on closed file
```

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel