Closed Bug 1580354 Opened 5 years ago Closed 5 years ago

ValueError when user-created bookmark names contain a space

Categories

(Conduit :: moz-phab, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rjl, Unassigned)

Details

Attachments

(2 files)

When a user-created bookmark (unrelated to moz-phab) contains a space character, moz-phab exits during submit with:
ValueError: too manu values to unpack

2019-09-10 17:39:37,873 DEBUG    $ hg --config extensions.rebase= bookmark -T '{active} {bookmark}\n'
2019-09-10 17:39:37,993 DEBUG    False Bug 15XXXXX
False Bug 15XXXXX
False Bug 15XXXXX
False Bug15XXXXX
False Bug15XXXXX
False DXXXXX
False DXXXXX
False DXXXXX
False bug15XXXXX
2019-09-10 17:39:37,994 ERROR    ValueError: too many values to unpack

Only split once when reading output from hg bookmark to prevent
an error when a user-created bookmark contains a space character
in the name.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: