On Thursday, August 1, 2013 4:55:07 PM UTC-4, William wrote: > > On Thu, Aug 1, 2013 at 1:40 PM, davidp <davi...@gmail.com <javascript:>> > 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 > > >
Or, using hg_sage as you are, see what you get from hg_sage.add? example like sage: hg_sage.add('module_list.pyc', options='--dry-run') so sage: hg_sage.add('sage/geometry/hyperplane_arrangement.py') hopefully should work. > -- 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 sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.