brownbetty: (Default)
brownbetty ([personal profile] brownbetty) wrote in [site community profile] dw_dev_training2009-04-19 11:02 am
Entry tags:

Nuclear option

So, having finally figured out Mercurial, at least, enough to realize everything I was doing wrong, I would like to nuke my hack's disfigured copy of the code and start again clean. (It's not really necessary to carefully swap out patches that I made by accident, and reapply them every update. In fact, I'd really rather not.)

It seemed like the nice and simple way to do this was
$hg update -C tip
, but when I tried that, I got
abort: 00changelog.i: no node 949b5cec2d2896f33952d57abcc52696717c90c8!
which is MAGNIFICENTLY uninformative.

Is there a way to fix that? Alternately, am I doing completely the wrong thing?
ursamajor: Tajel on geeks (geeks: love them)

[personal profile] ursamajor 2009-04-20 01:40 pm (UTC)(link)
I tried to do something like this when I was royally screwing up syncing between CVS and live (and ending up with 5-6 different copies of each file I changed, which resulted in a 71,000 line diff file), but I *think* I did something different, because at some point, the amount of "fix this" meant it was easier to just reinstall my hack. Let me see if I can track down the instructions, unless someone more knowledgeable comes along *G*