Closed Bug 900013 Opened 11 years ago Closed 11 years ago

Filename entered in the 'Attachment Filename' field doesn't have any effect on uploaded patch filename

Categories

(Developer Services :: Mercurial: bzexport, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: gps)

Details

Attachments

(1 file)

1) bz export -e
2) Change the filename in the 'Attachment Filename' field.
3) Let the patch attach.
4) Check the bug and see what filename is specified in the patch details view

Expected:
Attached patch filename matches the new one entered in the editor.

Actual:
Attached patch filename is the same as the original filename.
(eg happened in bug 900010)
I /think/ this is biting me in bug 928195. Since I'm not using mq, patch filenames default to '.'. Whenever I upload patches to a multi-part bug, the old attachments are obsoleted at upload time.

STR:

1) hg gdown
2) hg bzexport -e
3) hg gup
4) hg bzexport -e -> part 1 was deleted.
The first time I looked at the source of bzexport in detail. Oh boy.
Attachment #832324 - Flags: review?(sphink)
Assignee: nobody → gps
Status: NEW → ASSIGNED
Attachment #832324 - Flags: review?(sphink) → review+
Committed as c604ded99c59.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Other Applications → Developer Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: