herbrandson
herbrandson

Reputation: 2417

Is it possible to do an un-revert in svn?

I have mistakenly done an svn revert on the wrong directory and lost my last days worth of work. I think this is a long shot, but is there a way to do an "un revert" in svn?

Upvotes: 2

Views: 443

Answers (3)

Lithium
Lithium

Reputation: 5142

Not unless windows saved a copy in the recycle bin like onnodb suggested. If you never committed the changes you made, svn has no knowledge they ever existed.

Upvotes: 0

onnodb
onnodb

Reputation: 5261

Not sure if this is any help, but I'm using TortoiseSVN on Windows myself, and there, files that are "Reverted" are moved to the Windows Recycle Bin, from which they can usually be recovered.

Reference: TortoiseSVN Docs

Upvotes: 3

William Leara
William Leara

Reputation: 10687

No, sorry, there is not a way to un-revert.

Upvotes: 0

Related Questions