#11121: Set up good defaults for sage's mercurial
------------------------------------------+---------------------------------
Reporter: kini | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords: mercurial git diff
patches sd31
Work_issues: | Upstream: N/A
Reviewer: John Palmieri, Keshav Kini | Author: Keshav Kini, John
Palmieri
Merged: | Dependencies:
------------------------------------------+---------------------------------
Comment(by jhpalmieri):
Replying to [comment:56 kini]:
> Yes, see [comment:41 this comment]. All that extra stuff (besides
`git=True`) is put in the file `$SAGE_ROOT/local/etc/mercurial/hgrc` by
the installer of `mercurial-1.8.4.spkg` from #10594. Indeed, the file in
John's patch to `sage-clone` could just as well open the `.hg/hgrc` file
with mode `'w'` rather than `'a'`, I think.
Well, when you make a clone, a new .hgrc file is written, saying something
like
{{{
[paths]
default = .../devel/sage
}}}
I'm not sure of the purpose of this, but I thought we should append to it,
not overwrite it.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11121#comment:58>
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.