Search code examples
mercurialmozillabugzilla

hg: unknown command 'qimportbz'


I followed the instructions on how to setup qimportbz here; I'm on WinXP and instead of adding:

[extensions]
qimportbz = C:\mozilla\mercurial\qimportbz

to a .hgrc file I updated a Mercurial.ini file which seems to be the correct file to add extensions to for me..

then when I run hg help qimportbz I see the help for the qimportbz cmd, but when I try to run hg qimportbz 548590 for example, on the jetpack-sdk hg repo, I get the following error:

hg: unknown command 'qimportbz'

Solution

  • I had this problem. I believe the syntax has changed. Try hg qimport bz://bug_num where bug_num is the bugzilla bug id.