Mercurial > hg
view tests/test-check-interfaces.py.out @ 34305:0e48813cc106
alias: test duplicated definition earlier
This patch moves the old definition checking logic introduced by
f4b7be3f8430 earlier. So that the test itself does not depend on `aliasdef`.
The check is to avoid wrapping a same alias multiple times. It can be done
by checking the config name and value (`definition` in code), without
constructing a `cmdalias` instance.
This makes the next patch easier to review.
Differential Revision: https://phab.mercurial-scm.org/D804
author | Jun Wu <quark@fb.com> |
---|---|
date | Sat, 23 Sep 2017 13:31:09 -0700 |
parents | b70029f355a3 |
children | 39f7d4ee8bcd |
line wrap: on
line source
public attributes not in abstract interface: badpeer.badattribute public attributes not in abstract interface: badpeer.badmethod