[Bug 3484] New: hgext/bugzilla: status processing is broken

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Mon Jun 4 02:36:27 UTC 2012


http://bz.selenic.com/show_bug.cgi?id=3484

          Priority: normal
            Bug ID: 3484
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hgext/bugzilla: status processing is broken
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: oleg at smolsky.net
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

The test: use the following commit message:

--------------------------------------------------------------------------------
blah blah, does not matter

 - fixed something blah blah
 - bug 141
--------------------------------------------------------------------------------

Notes:
 - The point here is to reference "fixed" and "bug XXXX".
 - Observe that the referenced bug is marked as "fixed"

The issue:
 - hack hgrc to reset the "fixregex" setting:
   fixregexp = some_data_that_will_never_happen_1234_abcd
 - repeat the test
 - the bug is marked as "resolved"

The fix:
 - see bugzilla.py:  def updatebug()
 - take out the following two lines in the " >= 4" section
#            args['status'] = self.fixstatus
#            args['resolution'] = self.fixresolution

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Mercurial-devel mailing list