Mercurial > public > mercurial-scm > hg
comparison mercurial/debugcommands.py @ 32368:008d37c4d783
base85: switch to policy importer
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 13 Aug 2016 12:08:23 +0900 |
parents | a9c71d578a1c |
children | 3b88a7fa97d8 |
comparison
equal
deleted
inserted
replaced
32367:a9c71d578a1c | 32368:008d37c4d783 |
---|---|
1024 | 1024 |
1025 if policy.policy in ('c', 'allow'): | 1025 if policy.policy in ('c', 'allow'): |
1026 err = None | 1026 err = None |
1027 try: | 1027 try: |
1028 from . import ( | 1028 from . import ( |
1029 base85, | |
1030 bdiff, | 1029 bdiff, |
1031 mpatch, | 1030 mpatch, |
1032 ) | 1031 ) |
1033 from .cext import ( | 1032 from .cext import ( |
1033 base85, | |
1034 osutil, | 1034 osutil, |
1035 ) | 1035 ) |
1036 dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes | 1036 dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes |
1037 except Exception as inst: | 1037 except Exception as inst: |
1038 err = inst | 1038 err = inst |