[darcs-users] How to reset a file to an older state?
Thomas Schwinge
tschwinge at gnu.org
Sat Apr 29 20:57:00 UTC 2006
[Enqueued in this thread at the request of Juliusz.]
Juliusz writes:
> Searching from the top, `vc-darcs-find-hash' will find the ``created_as''
> change's hash first, and not the one of the latest change.
Hmm, interesting. Yes, it's indeed a bug -- and it's worked around by
a horrible hack. See the comment in vc-darcs-diff.
Thanks for the report.
> Fixing this, of course makes the parsing even more ugly. :-/
Well, I could simply make a first pass to remove the created_as bit.
Or I could go the full way and use the nonvalidating XML parser
included in Emacs.
> I'd definitely like to do that, as I think that darcs's current interface
> w.r.t. being used non-interactively is really suboptimal. Unfortunately
> my Haskell skills are nonexistent. :-|
Learning Haskell will make you smarter, taller and more handsome.
Juliusz
More information about the darcs-users
mailing list