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

Comment(by jhpalmieri):

 Actually, let me revise one comment: the "color" extension is not
 innocuous: when it's enabled, the output from "hg_sage.status()" in the
 notebook has stray characters, presumably coming from the ASCII color-
 changing codes.  It looks like this:
 {{{
 Getting status of modified or unknown files:
 cd "/Applications/sage/devel/sage" && hg status
 [0;34;1mM sage/algebras/steenrod_algebra_bases.py[0m
 }}}
 The last line should be
 {{{
 M sage/algebras/steenrod_algebra_bases.py
 }}}
 On the other hand, with the color extension enabled, the output looks good
 from the command line.  So if we want to use color, we should have
 separate hgrc files, one for the notebook and one for the command-line.

 I'm a little suspicious of enabling some of the others of these in the
 notebook, for example "progress".  On the bright side, enabling "pager"
 doesn't seem to have any detrimental effect in the notebook.

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