hgext/bugzilla.py
changeset 2221 05b6c13f43c6
parent 2219 ec82cff7d2c4
child 2239 5e5adc1910ed
equal deleted inserted replaced
2220:6d3cc2a982f3 2221:05b6c13f43c6
   276         ids = bz.find_bug_ids(bin_node, changes[4])
   276         ids = bz.find_bug_ids(bin_node, changes[4])
   277         if ids:
   277         if ids:
   278             for id in ids:
   278             for id in ids:
   279                 bz.update(id, bin_node, changes)
   279                 bz.update(id, bin_node, changes)
   280             bz.notify(ids)
   280             bz.notify(ids)
   281         return True
       
   282     except MySQLdb.MySQLError, err:
   281     except MySQLdb.MySQLError, err:
   283         raise util.Abort(_('database error: %s') % err[1])
   282         raise util.Abort(_('database error: %s') % err[1])
   284 
   283