#12058: Mercurial should not enable pager by default
----------------------------+-----------------------------------------------
   Reporter:  jdemeyer      |          Owner:  tbd            
       Type:  defect        |         Status:  positive_review
   Priority:  blocker       |      Milestone:  sage-4.8       
  Component:  packages      |       Keywords:                 
Work_issues:                |       Upstream:  N/A            
   Reviewer:  Volker Braun  |         Author:  Jeroen Demeyer 
     Merged:                |   Dependencies:                 
----------------------------+-----------------------------------------------

Comment(by kini):

 Replying to [comment:5 jdemeyer]:
 > Well, I think the "git" default is good to have

 Sure, me too, but it also takes control away from the user, just like
 turning the pager extension on. The patches on #11121 which are not in the
 spkg cause sage to put `.hg/.hgrc` files in the Sage mercurial
 repositories themselves. This means that `sage -hg` will produce git-style
 patches when operating on a Sage repository, but not by default when
 operating on any other random repository on your system. So it's a more
 "vanilla" approach to leave those patches from #11121 intact and remove
 the git stuff from `$SAGE_LOCAL/etc/mercurial/hgrc`. Just saying, in case
 we eventually decide to roll back #11121 and rewrite #11142.

 (The first two lines of `$SAGE_LOCAL/etc/mercurial/hgrc` are still
 necessary to make the previously mentioned `.hgrc` files be accepted by a
 Mercurial running under a different user from whoever installed the Sage
 repos - another indication that maybe version control should not be
 integrated into the installation of a package, but should rather be
 managed by the user in user-owned directories, but that's another story.)

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