equal
deleted
inserted
replaced
1559 nopure = cext or rustext |
1559 nopure = cext or rustext |
1560 if nopure: |
1560 if nopure: |
1561 err = None |
1561 err = None |
1562 try: |
1562 try: |
1563 if cext: |
1563 if cext: |
1564 from .cext import ( |
1564 from .cext import ( # pytype: disable=import-error |
1565 base85, |
1565 base85, |
1566 bdiff, |
1566 bdiff, |
1567 mpatch, |
1567 mpatch, |
1568 osutil, |
1568 osutil, |
1569 ) |
1569 ) |
1570 |
1570 |
1571 # quiet pyflakes |
1571 # quiet pyflakes |
1572 dir(bdiff), dir(mpatch), dir(base85), dir(osutil) |
1572 dir(bdiff), dir(mpatch), dir(base85), dir(osutil) |
1573 if rustext: |
1573 if rustext: |
1574 from .rustext import ( |
1574 from .rustext import ( # pytype: disable=import-error |
1575 ancestor, |
1575 ancestor, |
1576 dirstate, |
1576 dirstate, |
1577 ) |
1577 ) |
1578 |
1578 |
1579 dir(ancestor), dir(dirstate) # quiet pyflakes |
1579 dir(ancestor), dir(dirstate) # quiet pyflakes |