I'd like to checkout an older tagged state in the current darcs repo (its working dir).
I don't want to clone to another directory (because I have setup a cabal sandbox in the current directory).
I have already pushed all new changes to a remote repo, so I don't really care whether the changes are completely lost locally. (But still: can't I keep the patches saved, but still checkout an older state?)
How to do this?
Attempts
I tried
darcs obliterate --from-tag=TAG
but that gave not exactly the result I wanted. This obliterated the tag, too!
So, to get TAG back, I had to darcs pull
and select the first patch in the row (TAG), and press d
to skip all other patches.
Well, darcs obliterate --from-tag=TAG
did ask interactively what to obliterate, so I could theoretically leave TAG, but it starts asking from the most recent patch, so I had to go through many recent patches, before I could inform darcs
of my decision to leave TAG.