Diff, Less, Colour

Marijn Vriens marijn at metronomo.cl
Thu Sep 3 03:31:44 CDT 2009


On Thu, Sep 3, 2009 at 9:23 AM, Jonathan Ballet

>
> I'm using the following configuration to do that with Mercurial:
>
> $ cat ~/.hgrc:
> ...
> [extensions]
> color =
> pager =
>
> [pager]
> pager = less
> quiet = True
> attend = diff,status,log,qdiff,blame,annotate,pdiff,glog
>
> $ echo $LESS
> FRSXQ
>
> That is, I'm using the flags "FRSXQ" with less. The following
> configuration allows me to have pager + color in diffs for example.
>
> Hope it helps,
>

That works great! Thank you very much.


>
>  Jonathan
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090903/f0518595/attachment.htm 


More information about the Mercurial mailing list