# This file is part of LilyPond, the GNU music typesetter.
#
-# Copyright (C) 1998--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+# Copyright (C) 1998--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
# Jan Nieuwenhuizen <janneke@gnu.org>
#
# LilyPond is free software: you can redistribute it and/or modify
%s
%s
-''' % ( _ ('Copyright (c) %s by') % '2001--2010',
+''' % ( _ ('Copyright (c) %s by') % '2001--2011',
' '.join (authors),
_ ('Distributed under terms of the GNU General Public License.'),
_ ('It comes with NO WARRANTY.')))
if global_options.diff_version_update:
if result == input:
# check the y in x.y.z (minor version number)
- if last[0:2] != from_version[0:2]:
+ previous_stable = (last[0], 2*(last[1]/2), 0)
+ if ((last[0:2] != from_version[0:2]) and
+ (previous_stable > from_version)):
# previous stable version
- last = (last[0], 2*(last[1]/2), 0)
+ last = previous_stable
else:
# make no (actual) change to the version number
last = from_version