[issue2843] Pager extension + hg diff / hg log don't work on windows - mercurial 1.8.4

timotei bugs at mercurial.selenic.com
Sun Jun 5 15:24:51 CDT 2011


New submission from timotei <kimi_anwen at yahoo.com>:

I don't like the default hg diff/hg log method of outputing the whole diff.
I want it to be paged (like git log/diff). However, couldn't get it working.

If I enable this in my .hgrc file:

 [extensions]
 hgext.pager=

Now, the problem is. If I add the:

 [pager]
 pager=less
or
 pager=less -FSRX
or
 pager=d:\bin\unix\bin\less.exe -FSRX

The command hg log/hg diff won't output anything.

Please note that hg log | less, is *not* an option, because that wipes away
the coloring.

I use Windows 7 x64, with tortoise HG (which uses mercurial 1.8.4).

The problem appears both when using the git's cygwin console and windows's
built-in one. 

The 'less.exe' utility is from the gnu win32.

----------
messages: 16460
nosy: timotei
priority: bug
status: unread
title: Pager extension + hg diff / hg log don't work on windows - mercurial 1.8.4

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2843>
____________________________________________________


More information about the Mercurial-devel mailing list