Comment 1 for bug 619759

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 619759] [NEW] revert breaks hard links in repository

This is a feature, in a few ways.

One is that we're as close to transactional as we can get on the
revert, which involves writing new files and renaming them into place.
Secondly, we create backup files in the most efficient way we know of
- we rename the existing file to the backup file name.
Lastly, w e don't disrupt other checkouts which are hardlinked
together (that can be create using branch --hardlink if I remember
correctly).

We could perhaps add an option for folk that don't want these guarantees.

-Rob