Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top