Mercurial > hg
comparison relnotes/next @ 42343:d8e55c0c642c
util: make util.dirs() and util.finddirs() include root directory (API)
This changes the behavior of test-origbackup-conflict.t so it no
longer errors out when the backup path points to an existing
file. Instead, it replaces the file by a directory. That seems
reasonable to me.
Differential Revision: https://phab.mercurial-scm.org/D6403
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 16 May 2017 11:00:38 -0700 |
parents | 27d6956d386b |
children | ba6ca4e80607 |
comparison
equal
deleted
inserted
replaced
42342:448486e12c13 | 42343:d8e55c0c642c |
---|---|
30 | 30 |
31 * Matchers are no longer iterable. Use `match.files()` instead. | 31 * Matchers are no longer iterable. Use `match.files()` instead. |
32 | 32 |
33 * `match.visitdir()` and `match.visitchildrenset()` now expect the | 33 * `match.visitdir()` and `match.visitchildrenset()` now expect the |
34 empty string instead of '.' to indicate the root directory. | 34 empty string instead of '.' to indicate the root directory. |
35 | |
36 * `util.dirs()` and `util.finddirs()` now include an entry for the | |
37 root directory (empty string). |