equal
deleted
inserted
replaced
967 (br'\bHG_TXNID=TXN:[a-f0-9]{40}\b', br'HG_TXNID=TXN:$ID$'), |
967 (br'\bHG_TXNID=TXN:[a-f0-9]{40}\b', br'HG_TXNID=TXN:$ID$'), |
968 ] |
968 ] |
969 r.append((self._escapepath(self._testtmp), b'$TESTTMP')) |
969 r.append((self._escapepath(self._testtmp), b'$TESTTMP')) |
970 |
970 |
971 testdir = os.path.dirname(self.path) |
971 testdir = os.path.dirname(self.path) |
972 replacementfile = os.path.join(testdir, 'common-pattern.py') |
972 replacementfile = os.path.join(testdir, b'common-pattern.py') |
973 |
973 |
974 if os.path.exists(replacementfile): |
974 if os.path.exists(replacementfile): |
975 data = {} |
975 data = {} |
976 execfile(replacementfile, data) |
976 execfile(replacementfile, data) |
977 r.extend(data.get('substitutions', ())) |
977 r.extend(data.get('substitutions', ())) |