#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:  pop\neq push and a couple minor documentation things  |       
Upstream:  N/A          
   Reviewer:  Karl-Dieter Crisman                                   |         
Author:  John Palmieri
     Merged:                                                        |   
Dependencies:  #10594       
--------------------------------------------------------------------+-------
Changes (by jhpalmieri):

  * status:  needs_work => needs_review


Comment:

 Re the qpush/qpop thing: I'm just like trying to keep people on their
 toes.

 Re the documentation: I wonder if Mercurial itself used to revert all
 files when there were no arguments given: the rest of the docstring seems
 to have been taken from the help message printed by "hg help revert".
 I've now replaced it with the current version of that message, edited
 slightly to use Sage `hg_sage....` syntax instead of `hg ...` shell
 syntax.

 There is more work to be done, perhaps: commands like "hg status" can take
 many options when executed from the shell, but the Sage implementation
 doesn't include any of them.  If someone feels like opening up a follow-up
 ticket to implement things like that, they could.  Also, it wouldn't hurt
 to make sure that our docstrings are in line with Mercurial's current
 docstrings.  Since using Mercurial from the shell is pleasant enough, I
 would give these tasks a pretty low priority, as long our our docstrings
 don't say things which are completely wrong, like your catch with
 `revert`.

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