> --- a/mercurial/store.py
> +++ b/mercurial/store.py
> @@ -486,7 +486,7 @@
>          if self.addls:
>              # if we have just new entries, let's append them to the fncache
>              tr.addbackup('fncache')
> -            fp = self.vfs('fncache', mode='ab', atomictemp=True)
> +            fp = self.vfs('fncache', mode='ab')

Ah, no. addbackup() creates hardlink, which means fncache can't be updated in
place. Also, the reader wouldn't handle partially-written fncache well.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to