Show More
@@ -190,6 +190,11 b' class abstractvfs(object):' | |||||
190 | checkambig argument is used with util.filestat, and is useful |
|
190 | checkambig argument is used with util.filestat, and is useful | |
191 | only if destination file is guarded by any lock |
|
191 | only if destination file is guarded by any lock | |
192 | (e.g. repo.lock or repo.wlock). |
|
192 | (e.g. repo.lock or repo.wlock). | |
|
193 | ||||
|
194 | To avoid file stat ambiguity forcibly, checkambig=True involves | |||
|
195 | copying ``src`` file, if it is owned by another. Therefore, use | |||
|
196 | checkambig=True only in limited cases (see also issue5418 and | |||
|
197 | issue5584 for detail). | |||
193 | """ |
|
198 | """ | |
194 | srcpath = self.join(src) |
|
199 | srcpath = self.join(src) | |
195 | dstpath = self.join(dst) |
|
200 | dstpath = self.join(dst) | |
@@ -343,6 +348,12 b' class vfs(abstractvfs):' | |||||
343 | ``checkambig`` argument is passed to atomictemplfile (valid |
|
348 | ``checkambig`` argument is passed to atomictemplfile (valid | |
344 | only for writing), and is useful only if target file is |
|
349 | only for writing), and is useful only if target file is | |
345 | guarded by any lock (e.g. repo.lock or repo.wlock). |
|
350 | guarded by any lock (e.g. repo.lock or repo.wlock). | |
|
351 | ||||
|
352 | To avoid file stat ambiguity forcibly, checkambig=True involves | |||
|
353 | copying ``path`` file opened in "append" mode (e.g. for | |||
|
354 | truncation), if it is owned by another. Therefore, use | |||
|
355 | combination of append mode and checkambig=True only in limited | |||
|
356 | cases (see also issue5418 and issue5584 for detail). | |||
346 | ''' |
|
357 | ''' | |
347 | if auditpath: |
|
358 | if auditpath: | |
348 | if self._audit: |
|
359 | if self._audit: |
General Comments 0
You need to be logged in to leave comments.
Login now