How to undo a revert in mercurial -
this question has answer here:
- are changes gone after “hg revert”? 1 answer
after had accidentally added several files with
hg add
i wanted revert with
hg revert --all
unfortunatelly hadn't committed intended changes reverted well. can content back?
you did not specify --no-backup
, there should backup files right next actual file.
modified files saved .orig suffix before reverting. disable these backups, use --no-backup.
Comments
Post a Comment