First time here? Check out the FAQ!
0

How to restore my code to 20 minutes back?

I mistakenly did a git checkout . Is there any revision history in wing?

Prakash Deivakani's avatar
1
Prakash Deivakani
asked 2018-05-11 11:21:00 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2019-03-13 10:31:02 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

Wing doesn't keep its own revision history, other than undo history which does not survive reload when a file changes externally on disk.  However, 'git checkout' supposedly keeps local modifications to files by default so they can be committed on the new branch.  If you didn't discard changes, you could probably just switch back to the other branch with git to get back to where you were before.

Wingware Support's avatar
4.2k
Wingware Support
answered 2018-05-11 12:06:00 -0600
edit flag offensive 0 remove flag delete link

Comments

That's sad to know. Doing a "git checkout ." and then coming back to the wing and trying Undo didn't work as well.

Prakash Deivakani's avatar Prakash Deivakani (2018-05-11 12:50:00 -0600) edit
add a comment see more comments
0

We are now in 2021, has this changed?

One of the most helpful features I found in PyCharm was File History, which allows you to diff between all the changes you have made recently. Incredible help when git/perforce aren't helpful.

Is there a feature like this in Wing? If not, I'd like to loudly request it...

smeet's avatar
11
smeet
answered 2021-01-04 14:56:05 -0600
edit flag offensive 0 remove flag delete link

Comments

Wing has the ability to display diffs between what is in memory and on disk. We may add more history features, but it's not something we're currently working on.

Wingware Support's avatar Wingware Support (2021-01-05 08:32:13 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer