repoman: add check for using EPREFIX with helpers
authorFabian Groffen <grobian@gentoo.org>
Wed, 26 Jan 2011 21:15:46 +0000 (22:15 +0100)
committerFabian Groffen <grobian@gentoo.org>
Wed, 26 Jan 2011 21:15:46 +0000 (22:15 +0100)
commitdd912b0bd99842436d28580f2b378b7911a893df
tree90cd757d93107cd44fd57ceb133558eeab93cbd4
parent63afaeb40fec3d41f9118905cf542f87abe81ee9
repoman: add check for using EPREFIX with helpers

Bail when ED, EROOT or EPREFIX is being used with dodir, dohard,
exeinto, insinto or into.  These helper functions are commonly used with
paths, but should not be mistaken by developers to accept the offset
prefix.  (nor ROOT or D, but that is not checked)
bin/repoman
pym/repoman/checks.py
pym/repoman/errors.py