HomePhabricator

check-code: add a rules to catch os.path.abspath

Authored by marmoute.

Description

check-code: add a rules to catch os.path.abspath

All previous usages have been migrated. So let us add a check-code rules to
catch future usages.

We restrict it to mercurial/ and hgext/ because multiple other script never
depends on Mercurial modules.

Differential Revision: https://phab.mercurial-scm.org/D11072

Details

Committed
marmouteJul 10 2021, 7:46 AM
Differential Revision
D11072: check-code: add a rules to catch os.path.abspath
Parents
rHG352ada3aab70: windows: use abspath in convert.subversion
Branches
Unknown
Tags
Unknown