panny
panny

Reputation: 2212

hg undo overwrite

Accidentally used > instead of >> !

The overwritten file was added by hg add two days ago but was never commited.

Can hg undo that for me (maybe by magic) ?

Upvotes: 0

Views: 53

Answers (1)

Aaron Digulla
Aaron Digulla

Reputation: 328780

No.

If you're using Eclipse, you can look into the "local history".

If you use Mac, Timemachine might have saved the file.

If you're using openSUSE with btrfs, the zypper snapshot mechanism might have kept a copy.

Upvotes: 2

Related Questions