#12288: hg_sage and friends should unset HGPLAIN
--------------------------+-------------------------------------------------
   Reporter:  jhpalmieri  |          Owner:  jason        
       Type:  defect      |         Status:  needs_review 
   Priority:  critical    |      Milestone:  sage-4.8     
  Component:  misc        |       Keywords:               
Work_issues:              |       Upstream:  N/A          
   Reviewer:              |         Author:  John Palmieri
     Merged:              |   Dependencies:               
--------------------------+-------------------------------------------------
Changes (by jhpalmieri):

  * status:  new => needs_review


Old description:

> This is a followup to #12058.  When you run `hg_sage.log()` in Sage, it
> runs the command `hg` which has been installed in `SAGE_LOCAL/bin`.  It
> does not run `sage --hg`.  Therefore, because of the changes in #12058,
> the variable `HGPLAIN` is set to "yes", so the pager is turned off.  We
> should instead either run `sage --hg` or unset `HGPLAIN` when running
> commands using `hg_sage`.

New description:

 This is a followup to #12058.  When you run `hg_sage.log()` in Sage, it
 runs the command `hg` which has been installed in `SAGE_LOCAL/bin`.  It
 does not run `sage --hg`.  Therefore, because of the changes in #12058,
 the variable `HGPLAIN` is set to "yes", so the pager is turned off.  We
 should instead either run `sage --hg` or unset `HGPLAIN` when running
 commands using `hg_sage`.

 ------

 Suggestion: apply [attachment:trac_12288-sage-hg.patch] (rather than
 [attachment:trac_12288-unset-HGPLAIN.patch]).

--

Comment:

 I think that approach 1 is better, since then we can further modify how
 Sage's hg is used by customizing the `sage-sage` script, as in #12058.

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