Reputation: 24926
One of the SVG files of my project became corrupt (I can't open it anymore with my editor). I'd like to revert just this file to a previous version so that I can edit it.
I guess it must be possible to do that with Darcs. I should just apply the inverse of the patches to only one file. But how do I do that? Is there a command to do it?
Upvotes: 2
Views: 201
Reputation: 1211
Is that to the last recorded version? If so, darcs revert will help. Otherwise, try darcs show contents filename -p 'patch-name'
.
Upvotes: 2