#11142: clean up sage/misc/hg.py
-----------------------------------+----------------------------------------
Reporter: jhpalmieri | Owner: jason
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.7.2
Component: misc | Keywords: sd31
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: John Palmieri
Merged: | Dependencies: #10594
-----------------------------------+----------------------------------------
Comment(by jhpalmieri):
Replying to [comment:12 kcrisman]:
> > * Does `hg_sage.revert()` really just revert all files? I always
needed `options="--all"`, but maybe I don't any more.
> Yeah, this does not work.
I actually think it's a bit dangerous to be able to revert without
specifying "--all", so I think we should just fix the documentation, not
change the behavior. I'll do this soon.
> > * What happens if a user does ''not'' have queues enabled in their
.hgrc but tries to use the queue commands? (My understanding is that
#11121 doesn't really affect this patch/ticket, correct?)
> Ok, Keshav, as long as you vouch for this. Changing my hgrc didn't seem
to do anything (the desired behavior), but maybe the repository already
had hg initialized with mq or something...
As Keshav says, the latest Mercurial spkg turns on queues in
`SAGE_ROOT/local/etc/mercurial/hgrc`, so this is not an issue. (This is
why #10594 is a prerequisite for this ticket.)
> > * I haven't tried `hg_sage.root` but I assume this was enabled when
the root directory finally got a repository?
> Yes. Cool! Now I can edit the README more effectively :)
Right, ticket #9433, in particular [attachment:trac_9433-sage-
repo.2.patch], added this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11142#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.