[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add backup option to convert-ly (Issue 3572) (issue 14040043)
From: |
dak |
Subject: |
Re: Add backup option to convert-ly (Issue 3572) (issue 14040043) |
Date: |
Sun, 29 Sep 2013 05:46:39 +0000 |
https://codereview.appspot.com/14040043/diff/6001/scripts/convert-ly.py
File scripts/convert-ly.py (right):
https://codereview.appspot.com/14040043/diff/6001/scripts/convert-ly.py#newcode243
scripts/convert-ly.py:243: back_up = file + '.~' + str(n) + '~'
On 2013/09/29 01:00:49, Ian Hulin (gmail) wrote:
back_up = file + '.' + str(n) + "~"
# I think mysource.ly.0~ or myinclude.ily.45~ is just as distinctive
as a
# convert-ly backup file as mysource.ly.~0~ or myinclude.ily.~45~ .
# The first ~ makes it harder for humans to read, and doesn't hinder
programs
# identifying it as a convert-ly backup file.
The name here was chosen to correspond with the numbered backups of
Emacs. Emacs will recognize a numbered backup file (joining the backup
scheme) only when there is a good match. In addition, this makes it
recognize that the "real" file extension is .ly rather than .45.
https://codereview.appspot.com/14040043/
- Add backup option to convert-ly (Issue 3572) (issue 14040043), PhilEHolmes, 2013/09/27
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), julien . rioux, 2013/09/27
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), PhilEHolmes, 2013/09/28
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), ianhulin44, 2013/09/28
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043),
dak <=
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), dak, 2013/09/29
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), julien . rioux, 2013/09/30
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), PhilEHolmes, 2013/09/30
- Re: Add backup option to convert-ly (Issue 3572) (issue 14040043), dak, 2013/09/30