Closed Bug 764881 Opened 12 years ago Closed 12 years ago

hg bzexport should set assignee

Categories

(Developer Services :: Mercurial: bzexport, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sfink, Assigned: sfink)

References

Details

Attachments

(2 files)

Currently, it only takes bugs with |hg bzexport --new| and |hg newbug --take-bug|. It should also do it when using bzexport without --new.
Seems like a sensible default. Maybe just default --take-bug to on?
(In reply to Ted Mielczarek [:ted] from comment #1)
> Seems like a sensible default. Maybe just default --take-bug to on?

Wait, the --no-take-bug option has a positive alternative that is not written in the help? I wish I had known earlier.
(In reply to Ted Mielczarek [:ted] from comment #1)
> Seems like a sensible default. Maybe just default --take-bug to on?

It already is for bzexport. (bzexport defaults to on, newbug defaults to off.) But the current implementation only ever sets the assignee if you're creating a bug. There's no code yet to set the assignee for an existing bug.
Aha! Yes, we should just make that work.
Unfortunately, this patch depends on bug 764881.

(And apologies to jdm if I sent you a review request for a landfill bug. Forget to switch back from testing mode when attaching this patch.)
Attachment #653952 - Flags: review?(josh)
Assignee: nobody → sphink
And by 764881, I meant bug 778369.

Oh cool, looks like this patch made bzexport assign this bug properly. :-)
Depends on: 778369
Attachment #653952 - Flags: review?(josh) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee: sphink → nalexander
Fascinating.  That's what happens when you run `hg bzexport' with no arguments as a test run :)
Assignee: nalexander → sphink
Heh. I would recommend using -i every time you use bzexport for a while, until you get used to it.

And even then, I still use -e for everything.

So really: start out always using -i -e. When comfortable, drop the -i.
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: