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?

Was it helpful?

Solution

Is that to the last recorded version? If so, darcs revert will help. Otherwise, try darcs show contents filename -p 'patch-name'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top