Skip to content
Snippets Groups Projects
  1. Dec 07, 2021
  2. Dec 08, 2021
  3. Dec 07, 2021
  4. Nov 07, 2021
  5. Dec 07, 2021
  6. Dec 10, 2021
  7. Dec 06, 2021
  8. Dec 09, 2021
    • Simon Sapin's avatar
      rhg: Set second_ambiguous as needed in post-status fixup · 112184713852
      Simon Sapin authored
      This fixes an intermittent bug that manifested only in test-revert.t,
      and unfortunately not on CI. On a fast enough machine we could have:
      
      1. A file is modified
      2. `rhg status` writes an updated dirstate-v1
      3. The same file is modified again
      
      … all within the same integer second. Because the dirstate-v1 file format
      does not store sub-second precision, step 2 must write the file’s mtime
      as "unknown" because of the possibility of step 3.
      
      However, most of the code now handles timestamps with nanosecond precision
      in order to take advantage of it in dirstate-v2. `second_ambiguous` must
      be set for timestamps that become ambiguous if sub-second precision is dropped
      (such as through serialization in dirstate-v1 format).
      
      Differential Revision: https://phab.mercurial-scm.org/D11889
      112184713852
    • Simon Sapin's avatar
      dirstate: Document Timestamp.second_ambiguous · c8ca21962ff4
      Simon Sapin authored
      Differential Revision: https://phab.mercurial-scm.org/D11888
      c8ca21962ff4
  9. Dec 07, 2021
  10. Dec 08, 2021
  11. Dec 06, 2021
  12. Dec 07, 2021
  13. Dec 06, 2021
  14. Dec 04, 2021
  15. Dec 03, 2021
  16. Dec 04, 2021
  17. Nov 30, 2021
Loading