Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13100, comment 2


Ignore:
Timestamp:
Nov 2, 2018, 5:21:59 AM (6 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13100, comment 2

    initial v1  
    44diff -r 1b6c6b50f742 tracext/hg/backend.py
    55--- a/tracext/hg/backend.py     Wed Sep 19 19:57:36 2018 +0900
    6 +++ b/tracext/hg/backend.py     Fri Nov 02 13:17:27 2018 +0900
    7 @@ -67,6 +67,8 @@
     6+++ b/tracext/hg/backend.py     Fri Nov 02 13:21:41 2018 +0900
     7@@ -67,9 +67,12 @@
    88
    99     try:
    1010         from mercurial import demandimport
     11-        demandimport.enable();
     12     except ImportError, hg_import_error:
     13         demandimport = None
     14+    else:
    1115+        demandimport.IGNORES.add('sqlite3')
    1216+        demandimport.IGNORES.add('pysqlite2.dbapi2')
    13          demandimport.enable();
    14      except ImportError, hg_import_error:
    15          demandimport = None
     17+        demandimport.enable()
     18
     19     from mercurial import hg
     20     from mercurial.context import filectx
    1621}}}