Mercurial > hg
comparison tests/svnxml.py @ 29498:1b38cfde9530
revert: don't backup if no files reverted in interactive mode (issue4793)
When reverting interactively, we always backup files before prompting the user
to find out if they actually want to revert them. This can create spurious
*.orig files if a user enters an interactive revert session and then doesn't
revert any files. Instead, we should only backup files that are actually being
touched.
author | skarlage <skarlage@fb.com> |
---|---|
date | Thu, 30 Jun 2016 08:38:19 -0700 |
parents | 812eb3b7dc43 |
children | c17d73bf6a4d |
comparison
equal
deleted
inserted
replaced
29497:ee2027195847 | 29498:1b38cfde9530 |
---|