Closed
Bug 561306
Opened 16 years ago
Closed 11 years ago
Exception when importing a bug without patches
Categories
(Developer Services :: Mercurial: qimportbz, defect)
Developer Services
Mercurial: qimportbz
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sgautherie, Assigned: emorley)
References
Details
(Keywords: crash, Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/955] )
Attachments
(1 file, 1 obsolete file)
hg qimport -p bz:553890
{
Fetching... done
Parsing... done
No patches found for this bug
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded: extdiff, mq, rebase, qimportbz, transplant
Traceback (most recent call last):
File "hg", line 36, in <module>
File "mercurial\dispatch.pyo", line 16, in run
File "mercurial\dispatch.pyo", line 30, in dispatch
File "mercurial\dispatch.pyo", line 46, in _runcatch
File "mercurial\dispatch.pyo", line 454, in _dispatch
File "mercurial\dispatch.pyo", line 324, in runcommand
File "mercurial\dispatch.pyo", line 505, in _runcommand
File "mercurial\dispatch.pyo", line 459, in checkargs
File "mercurial\dispatch.pyo", line 453, in <lambda>
File "mercurial\util.pyo", line 386, in check
File "mercurial\extensions.pyo", line 116, in wrap
File "mercurial\util.pyo", line 386, in check
File "...\__init__.py", line 155, in qimporthook
orig(ui, repo, *files, **opts)
File "mercurial\util.pyo", line 386, in check
File "hgext\mq.pyo", line 1783, in qimport
File "hgext\mq.pyo", line 1669, in qimport
File "...\__init__.py", line 138, in read
return ui.edit(fp.read(), ui.username())
AttributeError: 'NoneType' object has no attribute 'read'
}
NB: I found this when I typo'ed bug 533890 ;->
Updated•11 years ago
|
Product: Other Applications → Developer Services
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/238]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/238] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/947] [kanban:engops:https://kanbanize.com/ctrl_board/6/238]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/947] [kanban:engops:https://kanbanize.com/ctrl_board/6/238] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/955] [kanban:engops:https://kanbanize.com/ctrl_board/6/238]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/955] [kanban:engops:https://kanbanize.com/ctrl_board/6/238] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/955]
| Assignee | ||
Comment 2•11 years ago
|
||
/r/5343 - qimportbz: exit gracefully if there are no patches to import (bug 561306)
Pull down this commit:
hg pull review -r f780f8c0e97958e8bf3b9ce55ef1b36626e63249
Attachment #8577231 -
Flags: review?(gps)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Comment 3•11 years ago
|
||
Comment on attachment 8577231 [details]
MozReview Request: bz://561306/edmorley
https://reviewboard.mozilla.org/r/5341/#review4389
Ship It!
Attachment #8577231 -
Flags: review?(gps) → review+
| Assignee | ||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8577231 -
Attachment is obsolete: true
Attachment #8617980 -
Flags: review+
| Assignee | ||
Comment 6•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•