sapling/eden/scm/tests/test-extension-inline.t
Jun Wu 75a8173a10 tests: enable chg for 572 tests
Summary:
Add `#chg-compatible` to 572 tests that seem to pass with chg enabled.
This should make them run faster.

Reviewed By: xavierd

Differential Revision: D18870507

fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
2019-12-09 15:26:29 -08:00

16 lines
441 B
Raku

#chg-compatible
$ cat >> foo.py << EOF
> from edenscm.mercurial import registrar
> cmdtable = {}
> command = registrar.command(cmdtable)
> @command('foo', [], norepo=True)
> def foo(ui):
> ui.write('This is the foo command\n')
> EOF
$ setconfig "extensions.foo=python-base64:`python -c 'import base64; print(base64.encodestring(open(\"foo.py\").read()).replace(\"\\n\",\"\"))'`"
$ hg foo
This is the foo command