equal
deleted
inserted
replaced
6 $ cat <<'EOF' >> "$HGRCPATH" |
6 $ cat <<'EOF' >> "$HGRCPATH" |
7 > [extensions] |
7 > [extensions] |
8 > convert = |
8 > convert = |
9 > EOF |
9 > EOF |
10 $ cat <<'EOF' > changefileslist.py |
10 $ cat <<'EOF' > changefileslist.py |
11 > from mercurial import (changelog, extensions) |
11 > from mercurial import (changelog, extensions, metadata) |
12 > def wrap(orig, clog, manifest, files, *args, **kwargs): |
12 > def wrap(orig, clog, manifest, files, *args, **kwargs): |
13 > return orig(clog, manifest, [b"a"], *args, **kwargs) |
13 > files = metadata.ChangingFiles(touched=[b"a"]) |
|
14 > return orig(clog, manifest, files, *args, **kwargs) |
14 > def extsetup(ui): |
15 > def extsetup(ui): |
15 > extensions.wrapfunction(changelog.changelog, 'add', wrap) |
16 > extensions.wrapfunction(changelog.changelog, 'add', wrap) |
16 > EOF |
17 > EOF |
17 |
18 |
18 $ hg init repo |
19 $ hg init repo |