[darcs-users] How to reset a file to an older state?
Jonathon Mah
me at JonathonMah.com
Thu Apr 27 14:00:48 UTC 2006
Hi Thomas,
On 2006-04-26, at 07:01, Thomas Schwinge wrote:
> I have a patch P (generated by `diff' or similar) to a known
> version V of
> a file F in a darcs repository. `known' means that the `hash'
> value of
> the file at that state V is known. In the meantime there have other
> patches been applied to the repository, to the file F.
>
> How would I non-interactively reset F back to state V, apply P and
> then
> make F up to date again, possibly creating conflicts in F?
You should be able to use darcs trackdown, with the test being a
script which checks the hash of the file.
Jonathon Mah
me at JonathonMah.com
More information about the darcs-users
mailing list