diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d4206a..ffb2dcc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ CLI command and its behaviour. There are no guarantees of stability for the currently exits early. To automatically create a .license file for unrecognised files, `--fallback-dot-license` has been added. (#823, #851, #853, #859; this took a while to get right.) +- Ignore `.sl` directory as used by [Sapling SCM](https://sapling-scm.com/). + (#867) ### Changed diff --git a/src/reuse/__init__.py b/src/reuse/__init__.py index 1c567da9..7935d94e 100644 --- a/src/reuse/__init__.py +++ b/src/reuse/__init__.py @@ -54,6 +54,7 @@ _IGNORE_DIR_PATTERNS = [ re.compile(r"^\.git$"), re.compile(r"^\.hg$"), + re.compile(r"^\.sl$"), # Used by Sapling SCM re.compile(r"^LICENSES$"), re.compile(r"^\.reuse$"), ]