문제

After I had accidentally added several files with

hg add

I wanted to revert that with

hg revert --all

Unfortunatelly I hadn't committed my intended changes so they were reverted as well. Can I get that content back?

도움이 되었습니까?

해결책

You did not specify the --no-backup, so there should be backup files right next to the actual file.

Documentation to support this

Modified files are saved with a .orig suffix before reverting. To disable these backups, use --no-backup.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top