hgext/bugzilla.py
changeset 3886 abaee83ce0a6
parent 3885 1e0b94cfba0e
child 3893 6b4127c7d52a
equal deleted inserted replaced
3885:1e0b94cfba0e 3886:abaee83ce0a6
    50 #   [bugzilla]
    50 #   [bugzilla]
    51 #   usermap = filename # cfg file with "committer"="bugzilla user" info
    51 #   usermap = filename # cfg file with "committer"="bugzilla user" info
    52 #   [usermap]
    52 #   [usermap]
    53 #   committer_email = bugzilla_user_name
    53 #   committer_email = bugzilla_user_name
    54 
    54 
    55 from mercurial.demandload import *
       
    56 from mercurial.i18n import gettext as _
    55 from mercurial.i18n import gettext as _
    57 from mercurial.node import *
    56 from mercurial.node import *
    58 demandload(globals(), 'mercurial:cmdutil,templater,util os re time')
    57 from mercurial import cmdutil, templater, util
       
    58 import os, re, time
    59 
    59 
    60 MySQLdb = None
    60 MySQLdb = None
    61 
    61 
    62 def buglist(ids):
    62 def buglist(ids):
    63     return '(' + ','.join(map(str, ids)) + ')'
    63     return '(' + ','.join(map(str, ids)) + ')'