stale journal.dirstate !!
Matt Mackall
mpm at selenic.com
Tue Jan 8 17:17:14 CST 2008
On Tue, 2008-01-08 at 13:28 -0800, Sreedhar Govardhana wrote:
> Hi,
>
> I came across a situation that 'push' is failing due to a stale
> 'journal.dirstate' file. 'verify'
> doesn't show any issues and so is 'recover'. I manually removed the
> file and did a push
> from my child it went fine. But I am not sure about the consequences of
> this manual deletion.
> Is it going to be a problem ?
Manually removed the file? It should have to you to run recover and
recover should have cleaned up for you.
> Also, Can one of you please explain me, what are all the situations when
> journal.dirstate will
> not removed ? And what might happened in our case ?
It happens when the hg process gets killed in the middle of a
transaction without getting a chance to roll it back. Running recover
should fix it.
This might happen if your webserver decides hg is taking too long or
your system crashes, etc.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list