bug#55029: Simple backup swaps source and destination files

2022-04-23 Thread Pádraig Brady
On 21/04/2022 03:53, Paul Eggert wrote: On 4/19/22 16:05, Steve Ward wrote: When doing mv or cp with --backup=simple, if an existing file in DIRECTORY has the same name as SOURCE, the files appear to be swapped instead of an in-place backup of the original file in DIRECTORY being made. Thanks

bug#55029: Simple backup swaps source and destination files

2022-04-20 Thread Paul Eggert
On 4/19/22 16:05, Steve Ward wrote: When doing mv or cp with --backup=simple, if an existing file in DIRECTORY has the same name as SOURCE, the files appear to be swapped instead of an in-place backup of the original file in DIRECTORY being made. Thanks for the bug report. That's new to coreuti

bug#55029: Simple backup swaps source and destination files

2022-04-19 Thread Steve Ward
When doing mv or cp with --backup=simple, if an existing file in DIRECTORY has the same name as SOURCE, the files appear to be swapped instead of an in-place backup of the original file in DIRECTORY being made. It doesn't happen with --backup=numbered. SIMPLE_BACKUP_SUFFIX is not set. Steps to re