What does this abort: error mean?

Chris Green cl at isbd.net
Tue Jul 27 15:09:29 UTC 2021


On Tue, Jul 27, 2021 at 04:27:18PM +0200, Pierre-Yves David wrote:
> On 7/27/21 10:49 AM, Chris Green wrote:
> > I just ran 'hg status' and got the following error:-
> > 
> >      chris at t470$ hg status
> >      abort: data/bison/bin/a.i at 2081505f56cc: no match found!
> >      chris at t470$
> > 
> > I have been messing around with things recently so it's probably my
> > fault, but how do I sort it out?
> > 
> You have some data file missing, this means your repository is corrupted.
> 
> Which version are you using. What is this repository? How did you clone it,
> what kind of operation have you been running on it ? Anything else worth
> mentioning ?
> 
I'm running Mercurial Distributed SCM (version 5.6.1)

This repository is just a personal repository running on my desktop
(xubuntu Linux) machine.  It's not being cloned from anywhere.

The 'bison' subdirectory which has the problem was copied from an
Android phone running termux, I think something funny must have
heppened while I was setting this up.

As I said, fortunately there was very little data in these additions
so I have simply restored from the latest backup that had no mercurial
errors and sorted things out from there.  It only took a short while,
I run hourly and daily incrmeental backups so finding all the changes
I needed to re-add wasn't too difficult.

It would be handy to know how to 'mend' such an error though if it
ever happens again.  (I still have the broken repository so I can try
the 'mend' on that).

-- 
Chris Green



More information about the Mercurial mailing list