[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book fails on identical snippets
From: |
Han-Wen Nienhuys |
Subject: |
Re: lilypond-book fails on identical snippets |
Date: |
Sun, 2 May 2010 21:52:05 -0300 |
[+john]
On Sat, May 1, 2010 at 4:56 AM, Werner LEMBERG <address@hidden> wrote:
>
> [lilypond 2.13.16, but there weren't related changes in newer versions]
>
> This input file zzz.tex
>
>
> ----------------------------------------------------------------------
>
> \begin{lilypond}
> { c' }
> \end{lilypond}
>
>
> \begin{lilypond}
> { c' }
> \end{lilypond}
I get
riting snippets...out/bin/lilypond-book:1753: DeprecationWarning:
os.popen3 is deprecated. Use the subprocess module.
(stdin, stdout, stderr) = os.popen3 (cmd)
lilypond-book: warning:
/home/hanwen/vc/lilypond/bla/37/lily-1f2fc3fe.ly: duplicate filename
but different contents of orginal file,
printing diff against existing file.
--- /home/hanwen/vc/lilypond/bla/37/lily-1f2fc3fe.ly 2010-05-02
21:50:04.000000000 -0300
+++ - 2010-05-02 21:50:04.059648746 -0300
@@ -25,7 +25,7 @@
% ****************************************************************
% ly snippet:
% ****************************************************************
-\sourcefileline 1
+\sourcefileline 6
{ c' }
which seems like a silly message.
CC-ing John who introduced this in d8a7eb6f3c224acc70abfec92296095b369a5497
Also, when doing diffs, it's probably more direct to read the file and
apply a difflib function on ti.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen