Mercurial > hg
changeset 29163:bf7fd815b083
py3: make contrib/check-commit use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 13 May 2016 02:11:57 +0530 |
parents | 5a3197cbe415 |
children | 91f35b1a34cf |
files | contrib/check-commit |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/check-commit Thu May 12 01:03:19 2016 +0100 +++ b/contrib/check-commit Fri May 13 02:11:57 2016 +0530 @@ -15,7 +15,11 @@ # # See also: https://mercurial-scm.org/wiki/ContributingChanges -import re, sys, os +from __future__ import absolute_import + +import os +import re +import sys commitheader = r"^(?:# [^\n]*\n)*" afterheader = commitheader + r"(?!#)"