How to check out code from old version with Google

2019-05-12 14:42发布

I made an add-on that worked on 05/21.

enter image description here

At some point between then and now it broke.

The old code is no longer in the revision history which only goes back to 05/22.

I have tested version 1, and it works, which means it's using the right code.

enter image description here

I can run this working version, but I don't know how I can re-open the code for it.

How do I view the code for version 1 of my add-on?

EDIT

From @BryanP's comment, I've been informed that there is an existing request for this here.

1条回答
forever°为你锁心
2楼-- · 2019-05-12 15:26

It's a bit round the houses, but you could:

  • Create a test project
  • include the older version of your library
  • Use the debugger to step into the older version of the code and then copy and paste it somewhere safe.

I use this technique to poke around in the libraries I'm using.

查看更多
登录 后发表回答