color and pager archeology

Augie Fackler raf at durin42.com
Tue Dec 2 08:57:03 CST 2014


On Tue, Dec 02, 2014 at 08:03:47AM +0000, Harry . wrote:
> After looking through the first five pages of results in the links
> that Matt provided, the only explanation I could find is a concern
> that enabling pager by default (perhaps this applies to color as
> well) may cause trouble for scripts or redirection.

I believe that's the principal concern, yes.

>
> I've tried this on my Debian box, and not found any issues - paging
> and color seem to be automatically suppressed in scripts/piping. I
> would be interested if anyone knows of a situation where enabling
> these extensions can be a problem. (In addition to the educational
> value, it's something that those of us who have these extensions
> enabled need to look out for.)

I believe pager still has lots of problems on Windows around process
lifecycles, but I don't use Windows so I can't speak with any authority.

Color I'm less sure about - I'd be a little surprised at this point if
it managed to break scripts (I've had it on for years without
incident), but we try _very hard_ to not break people.

>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list