Closed Bug 730056 Opened 12 years ago Closed 12 years ago

hgutil references 'new_revs' before definition

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mjessome, Unassigned)

Details

Attachments

(1 file)

variable new_revs is defined in a try: statement, and when the except: statement is reached, it is no longer in scope.

This fix initially defines it as a [] since the reverse() function requires an iterable, and out() returns a list.
Attachment #600121 - Flags: review?(bhearsum)
Attachment #600121 - Flags: review?(bhearsum) → review+
Attachment #600121 - Flags: checked-in+
Nice find!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: