Show More
@@ -677,14 +677,14 b" impl<'a, 'tree, 'on_disk> StatusCommon<'" | |||||
677 | // The directory was modified too recently, |
|
677 | // The directory was modified too recently, | |
678 | // don’t cache its `read_dir` results. |
|
678 | // don’t cache its `read_dir` results. | |
679 | // |
|
679 | // | |
680 | // 1. A change to this directory (direct child was |
|
680 | // 1. A change to this directory (direct child was added or | |
681 |
// |
|
681 | // removed) cause its mtime to be set (possibly truncated) | |
682 |
// |
|
682 | // to `directory_mtime` | |
683 | // 2. This `status` algorithm calls `read_dir` |
|
683 | // 2. This `status` algorithm calls `read_dir` | |
684 | // 3. An other change is made to the same directory is |
|
684 | // 3. An other change is made to the same directory is made so | |
685 |
// |
|
685 | // that calling `read_dir` agin would give different | |
686 |
// |
|
686 | // results, but soon enough after 1. that the mtime stays | |
687 |
// the |
|
687 | // the same | |
688 | // |
|
688 | // | |
689 | // On a system where the time resolution poor, this |
|
689 | // On a system where the time resolution poor, this | |
690 | // scenario is not unlikely if all three steps are caused |
|
690 | // scenario is not unlikely if all three steps are caused |
@@ -19,8 +19,8 b'' | |||||
19 | //! `mercurial.ancestor.incrementalmissingancestors`. |
|
19 | //! `mercurial.ancestor.incrementalmissingancestors`. | |
20 | //! |
|
20 | //! | |
21 | //! API differences: |
|
21 | //! API differences: | |
22 | //! + it is instantiated with a C `parsers.index` |
|
22 | //! + it is instantiated with a C `parsers.index` instance instead of a | |
23 |
//! |
|
23 | //! parents function. | |
24 | //! + `MissingAncestors.bases` is a method returning a tuple instead of |
|
24 | //! + `MissingAncestors.bases` is a method returning a tuple instead of | |
25 | //! a set-valued attribute. We could return a Python set easily if our |
|
25 | //! a set-valued attribute. We could return a Python set easily if our | |
26 | //! [PySet PR](https://github.com/dgrunwald/rust-cpython/pull/165) |
|
26 | //! [PySet PR](https://github.com/dgrunwald/rust-cpython/pull/165) |
General Comments 0
You need to be logged in to leave comments.
Login now