On 2009-09-28, Graham Percival wrote:
> On Mon, Sep 28, 2009 at 10:40:35AM -0700, Patrick McCarty wrote:
> > On Mon, Sep 28, 2009 at 10:30 AM, Graham Percival
> > <gra...@percival-music.ca> wrote:
> > > PS that said, if anybody's interested in hacking away at the
> > >   python scripts, please do!
> > 
> > Would it work if we just calculated the md5 hash for everything
> > *except* the preamble?  Of course, this would still break automatic
> > regtest comparisons with any past versions, but it might be more
> > "future proof".
> 
> Yes, precisely.  Add a "remove preamble" bit to
>     def relevant_contents (self, ly):
> on line 1253.

I just pushed a fix.  I did various tests on a small lilypond-book
project (with 8 snippets), and the file/folder names now stay the same
if the preamble is changed.

Thanks,
Patrick


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to