Package: mercurial
Version: 0.9.5-2
Severity: minor
Sometimes, hg complains to (presumably) stderr when I pipe its output
somewhere else. It is trying to close a pipe that has already been
closed by the sink process. Presumably hg glog (and possibly other hg
commands) are not bothering to check if fds are open before closing
them.
$ hg glog | head -1
@ 2006-08-04 Trent Buck <[EMAIL PROTECTED]>
close failed: [Errno 32] Broken pipe
$ hg glog | head -1
@ 2006-08-04 Trent Buck <[EMAIL PROTECTED]>
I suspect the reason subsequent runs don't show the same error is
because my repo is small and hg glog has finished writing to the
(buffered) pipe before head -1 closes the fd.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mercurial depends on:
ii libc6 2.7-3 GNU C Library: Shared libraries
ii python 2.4.4-6 An interactive high-level object-o
ii python-support 0.7.5 automated rebuilding support for p
ii python2.5 2.5.1-5 An interactive high-level object-o
Versions of packages mercurial recommends:
ii meld 1.1.5.1-2 graphical tool to diff and merge f
ii rcs 5.7-21 The GNU Revision Control System
ii tk8.4 [wish] 8.4.16-2 Tk toolkit for Tcl and X11, v8.4 -
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]