Unfortunately, when I applied the patch, the subdirectory media/
sandpile does not appear even after having added each file
individually with hg_sage.add.  Also, before and after adding the
files individually,

   >> sage: hg_sage.add('doc/en/thematic_tutorials/media/sandpile/')

does not add the subdirectory.  (Leaving out the forward-slash at the
end of sandpile makes no difference.)

The patch, itself, has lines of the form

       diff -r f44320c0a0fb -r 09b006e85edf doc/en/thematic_tutorials/
media/sandpile/C_6-parallel.png
       Binary file doc/en/thematic_tutorials/media/sandpile/C_6-
parallel.png has changed

(although from the size of the patch file, I don't think it has
actually attached any png files).

Why doesn't hg notice the new subdirectory, 'sandpile', or attach the
png files?

On Aug 14, 10:10 am, John H Palmieri <[email protected]> wrote:
> On Sunday, August 14, 2011 9:49:53 AM UTC-7, davidp wrote:
>
> > Thanks for pointing out the media directory.
>
> > Trying to add the directory did not work for me (even after re-trying
> > with the full path name):
>
> > Adding each individual file separately worked, though:
>
> Oh, I see.  We have it set up so that png files are ignored, by default, by
> Mercurial (they are listed in the file SAGE_ROOT/devel/sage/.hgignore).  So
> if you want to add them to the repository, you name each file explicitly,
> the way you did.
>
> --
> John

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to