transaction: use a ".bck" extension for all backup file
There are too much code in Mercurial that assume file function from extension. Keeping the original extension when doing backup is just creating confusion (for exemple, backup of revlog's confused with new version revlogs). So we change the backup name from now on to be explicilty backup file and prevent this kind of problem. (note that repository using fncache is less affected (but still affected) by this kind of problem as the backup are not listed in the fncache).
parent
a52aae8bcc7a
No related branches found
No related tags found
Showing
- mercurial/transaction.py 1 addition, 1 deletionmercurial/transaction.py
- tests/test-fncache.t 2 additions, 2 deletionstests/test-fncache.t
- tests/test-hardlinks.t 10 additions, 10 deletionstests/test-hardlinks.t
- tests/test-hook.t 1 addition, 1 deletiontests/test-hook.t
- tests/test-inherit-mode.t 2 additions, 2 deletionstests/test-inherit-mode.t
- tests/test-largefiles-cache.t 1 addition, 1 deletiontests/test-largefiles-cache.t
- tests/test-persistent-nodemap.t 0 additions, 2 deletionstests/test-persistent-nodemap.t
- tests/test-rebase-abort.t 0 additions, 1 deletiontests/test-rebase-abort.t
- tests/test-rollback.t 1 addition, 1 deletiontests/test-rollback.t
- tests/test-transaction-rollback-on-revlog-split.t 1 addition, 1 deletiontests/test-transaction-rollback-on-revlog-split.t
- tests/test-upgrade-repo.t 1 addition, 1 deletiontests/test-upgrade-repo.t
Loading
Please register or sign in to comment