The following additions to ~/.hgrc will, e.g., automatically page and
colorize the output from various hg commands (diff, status, qseries, etc.):

[extensions]
# http://mercurial.selenic.com/wiki/ColorExtension
color=
# http://mercurial.selenic.com/wiki/HighlightExtension
hgext.highlight=
# http://mercurial.selenic.com/wiki/PagerExtension
pager=

[pager]
pager = LESS='iMqRFX' /usr/bin/less

[web]
pygments_style = colorful


The Pygments style is for code displayed at http://localhost:8000 by "hg
serve".  Available styles:

In [1]: from pygments.styles import get_all_styles
In [2]: print str(list(get_all_styles()))
['manni', 'perldoc', 'borland', 'colorful', 'default', 'murphy', 'vs',
'trac', 'tango', 'fruity', 'autumn', 'bw', 'emacs', 'pastie',
'friendly', 'native']


Does anyone have experience with these other extensions, not currently
bundled with Mercurial, that appear to show some promise:

http://mercurial.selenic.com/wiki/QupExtension
http://mercurial.selenic.com/wiki/AtticExtension
http://mercurial.selenic.com/wiki/PatchBranchExtension

?  I think they complement queues

http://mercurial.selenic.com/wiki/MqExtension

by enabling "random" access to a pool of patches.  Is it possible set up
this pool *outside* SAGE_ROOT, so that it survives the usual
developmental turbulence?


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to