Commit Graph

5 Commits

Author SHA1 Message Date
Vadim Gelfer
0279e68d84 small changes to revert command.
fix bug 93: work with files that are in target manifest but not
dirstate.
2006-04-03 10:02:09 -07:00
Thomas Arendsen Hein
51c7d29d15 Don't abort when backup files already exist. Don't allow alternative names.
Rationale:
- When the user wants to revert, he shouldn't be stopped from doing
  this just because some old backups will be overwritten.
- To not clobber important files by accident, alternative names for backup
  files were disabled. As the backup target now has a fixed name, the user
  doesn't have to be informed about the backup copy (unless --verbose)
2006-04-01 11:58:50 +02:00
Vadim Gelfer
76b01baaea forgot to rerun tests after changed backup extension to .orig.
thomas a.h. found this.
2006-03-31 10:52:56 -08:00
Vadim Gelfer
cd9a2c218d rewrite revert command. fix issues 93, 123, 147.
new version does these things:

- saves backup copies of modified files (issue 147)

- prints output like other commands, and errors when files not found
  (issue 123)

- marks files added/removed (issue 93)
2006-03-31 10:37:25 -08:00
Matt Mackall
4da8c5ab00 Add test-confused-revert, fix permissions on test-revert 2005-10-25 15:54:44 -07:00