On Thu, Aug 1, 2013 at 1:40 PM, davidp <[email protected]> wrote:
> I am trying to post a patch to trac.  I have modified one file
> (sage/geometry/all.py) and added a new file
> (sage/geometry/hyperplane_arrangement.py).  I have followed the directions
> at http://sagemath.org/doc/developer/walk_through.html#creating-a-sandbox
> carefully. When I get to the part where I am supposed to enter
> hg_sage.status(), I get the following:
>
> ------------------------------------
> sage: hg_sage.status()
> Getting status of modified or unknown files:
> cd "/usr/local/sage-5.10/devel/sage" && sage --hg status
> M sage/geometry/all.py
> ? sage/geometry/hyperplane_arrangement.py
>
> ---
>
> Branch: hyperplane
> -----------------
>
> Subsequently, when I do hg_sage.diff() and hg_sage.commit() it looks like
> only "all.py" is recognized.  Should I also be issuing some version of
> hg_sage.add() before hg_sage.commit()?  I tried some version of that,
> without much luck.

Yes, you need to explicitly add that file, e.g.,

 cd SAGE_ROOT/devel/sage/
 sage -hg add sage/geometry/hyperplane_arrangement.py
 sage -hg commit -a



>
> Some advice would be appreciated.
>
> Thanks,
> Dave
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to