[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial
Subject:    Re: Repair hg : invalid branchheads cache (visible): tip differs
From:       Matt Mackall <mpm () selenic ! com>
Date:       2014-06-19 23:30:48
Message-ID: 1403220648.31056.25.camel () calx
[Download RAW message or body]

On Thu, 2014-06-19 at 18:26 +0000, Jensen, Aaron wrote:
> Whenever I run hg branches with the debug switch
> 
> > hg branches --debug
> 
> I get this message from stderr along with branch information:
> 
> hg : invalid branchheads cache (visible): tip differs
> 
> When I run without `--debug`, no stderr message, just branch info.
> 
> Is there anyway of repairing this to make this message go away? Google didn't turn \
> up anything, neither did a scan down Mercurial's debug commands.

This message says:

"Hey, we looked at the branch cache and it was built when the tip was
X.. but we've never heard of X. So I guess we can't use that cache and
have to start over. No big deal, I wouldn't mention it except you seemed
extra-curious."

If you get it repeatedly, it probably means that there are problems
overwriting the cache when it's rebuilt. This is a natural occurrence on
multi-user systems, so it doesn't generally warrant a message either.
But we should probably add a debug-level message for that.

-- 
Mathematics is the supreme nostalgia of our time.


_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic