开发者

Revert last update svn

I forgot to commit and then a do a update to开发者_C百科 my repo. All deleted files from previous revision were restored. How do I rollback?


If you forgot to commit them, you're lost. You have to delete the files again.

How should the VCS know what you did if you didn't tell the VCS that you did it?

But this is not half as disastrous as if you had lost new stuff you implemented and forgot to commit that...


The information about which files you had deleted is lost, unless you can scroll back your shell to see them. To prevent this from happening in the future, do an 'svn delete' on the files as soon as you decide to delete them. You would have to do a delete before a commit will actually delete the files anyway.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜