tests/test-convert-identity.t
changeset 45324 6c56277317c2
parent 42630 a2c02877b097
equal deleted inserted replaced
45323:aea6a812f7cb 45324:6c56277317c2
     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