equal
deleted
inserted
replaced
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 |