Regular repository corruption -- help needed.

Matt Mackall mpm at selenic.com
Sat Dec 22 23:01:16 UTC 2012


On Sat, 2012-12-22 at 23:50 +0100, Alexander Krauss wrote:
> 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...

Same directory as the changelog.

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

Good luck. There are thousands of NFS users who've never seen this.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list