Is that to the last recorded version? If so, darcs revert will help. Otherwise, try darcs show contents filename -p 'patch-name'
.
Revert a single file to previous version with darcs
-
30-05-2022 - |
Question
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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow