#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 kcrisman):

 Replying to [comment:36 jhpalmieri]:
 > In the patch for the mercurial spkg, the hgrc file doesn't quite do what
 I would like.  In particular, if there are no lines like
 > {{{
 > [pager]
 > pager = LESS='FSRX' less
 > }}}
 > then the pager extension doesn't do anything, so for example running "hg
 log" just scrolls through the whole log without pausing.  Is that what you
 intended?

 So if someone doesn't have this set, then what would
 {{{
 hg_sage.log()
 }}}
 do?  I tremble to think of the brand-new developer, who is not sure how to
 set up hg as an alias, trying this and being deluged by thousands of
 changes... At any rate, hg_sage.[tab] things should continue behaving as
 they have in this respect, using either 'more' or 'less' as the default (I
 don't know which it is, though).  If the pager option breaks this, it
 should be a no-go in my opinion.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11121#comment:40>
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