mercurial/vfs.py
changeset 44566 77d48738b8e0
parent 43506 9f70512ae2cf
child 45942 89a2afe31e82
equal deleted inserted replaced
44565:0af56d3ee24c 44566:77d48738b8e0
   415            active duration and are therefore free of race conditions between
   415            active duration and are therefore free of race conditions between
   416            closing a file on a background thread and reopening it. (If the
   416            closing a file on a background thread and reopening it. (If the
   417            file were opened multiple times, there could be unflushed data
   417            file were opened multiple times, there could be unflushed data
   418            because the original file handle hasn't been flushed/closed yet.)
   418            because the original file handle hasn't been flushed/closed yet.)
   419 
   419 
   420         ``checkambig`` argument is passed to atomictemplfile (valid
   420         ``checkambig`` argument is passed to atomictempfile (valid
   421         only for writing), and is useful only if target file is
   421         only for writing), and is useful only if target file is
   422         guarded by any lock (e.g. repo.lock or repo.wlock).
   422         guarded by any lock (e.g. repo.lock or repo.wlock).
   423 
   423 
   424         To avoid file stat ambiguity forcibly, checkambig=True involves
   424         To avoid file stat ambiguity forcibly, checkambig=True involves
   425         copying ``path`` file opened in "append" mode (e.g. for
   425         copying ``path`` file opened in "append" mode (e.g. for