Regular repository corruption -- help needed.

Alexander Krauss krauss at in.tum.de
Sat Dec 22 22:50:47 UTC 2012


On 12/20/2012 01:49 AM, Bryan O'Sullivan wrote:
> During a push, Mercurial uses a special redirection mechanism to add
> entries to the changelog file. That mechanism is very simple: it writes
> data to a temporary file, then reads the contents of that file and
> writes them to the end of the real changelog after all of the
> changegroup has streamed through.

Where does that temporary file go? I am asking because /tmp is local, so 
I would expect that write-to-read consistency is not a problem there...

(Currently trying to find a way of reproducing the issue reliably...)

Alex



More information about the Mercurial mailing list