#11121: Set up good defaults for sage's mercurial
---------------------------+------------------------------------------------
   Reporter:  kini         |          Owner:  tbd                            
       Type:  enhancement  |         Status:  needs_review                   
   Priority:  major        |      Milestone:  sage-4.7.1                     
  Component:  packages     |       Keywords:  mercurial git diff patches sd31
Work_issues:               |       Upstream:  N/A                            
   Reviewer:               |         Author:  Keshav Kini                    
     Merged:               |   Dependencies:                                 
---------------------------+------------------------------------------------

Comment(by jhpalmieri):

 I think if you only merge this ticket, behavior would stay the same,
 because the paging in commands coming from "hg_sage" (etc.) are done by
 hand in hg.py.  For example, hg_sage.log() runs "sage -hg log | less", so
 it doesn't matter whether any hgrc file has a pager set.

 {{{FSRX}}} are flags for the "less" command:

  - F exits automatically if the output fits on one screen
  - S truncates long lines
  - R preserves any color specification (and mercurial can use color in
 logs, diffs, etc.)
  - X doesn't clear the screen when you're done

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11121#comment:44>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to