### Renamed files map to ensure continuity of file history
## Map of new_name: old_name
renames_map = {
- 'application.tely': 'user/lilypond-program.tely',
+ 'usage.tely': 'user/lilypond-program.tely',
'notation.tely': 'user/lilypond.tely',
'learning.tely': 'user/lilypond-learning.tely',
'changes.tely': 'topdocs/NEWS.tely',
}
+# FIXME: Hardcoded file names!?
manuals_subdirectories_re = \
- re.compile ('(application|essay|learning|notation)/')
+ re.compile ('(usage|automated-engraving|changes|essay|extending|web|learning|notation)/')
def add_old_name (file_path):
for new_path in renames_map:
sys.stderr.write (no_committish_fatal_error % translated_file)
sys.exit (1)
revision = m.group (1)
+ if revision == '0':
+ return '', 0
if color:
color_flag = '--color --color-words'