[Bug 3533] New: pager extension broke with release 2.2.2 on centos5

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Fri Jul 6 08:58:01 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3533

          Priority: normal
            Bug ID: 3533
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: pager extension broke with release 2.2.2 on centos5
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: mbac at panix.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.2
         Component: pager
           Product: Mercurial

The pager seems to have switched from doing its own fork/exec pipe setup to
using subprocess.  This breaks the pager on CentOS 5.7 (but it works on CentOS
6.2)

The changeset that broke CentOS 5.7 support is:

changeset:   16631:369741ef7253
branch:      stable
user:        Brodie Rao <brodie at sf.io>
date:        Fri May 11 15:45:37 2012 +0200
summary:     pager: preserve Hg's exit code (and fix Windows support)
(issue3225)

Reproduce script:

rm -rf foo
mkdir foo
cd foo
hg init
touch bar
hg add bar
hg commit -m 'bar'

# test without pager extension
rm -f ~/.hgrc
hg log | wc -l

# test with pager extension
cat > ~/.hgrc <<EOF
[extensions]
pager =
EOF

# on CentOS 5.7 nothing is displayed here
# on CentOS 6.2 less is invoked with 6 lines
hg log

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list