Closed Bug 458215 Opened 16 years ago Closed 16 years ago

Add option to client.py to pass arbitrary options to hg

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b1

People

(Reporter: gozer, Unassigned)

Details

Attachments

(1 file)

In tracking down a Hg bug, I came up with the need to run all hg commands with the --debug flag on some of my buildbots.

The generic way to handle this I came up with is to add a --hg-options command-line argument to client.py that passes thru options to hg invocations.

i.e.

python client.py --hg-options="--debug --verbose --time"
Attachment #341448 - Flags: review?(bugspam.Callek)
Comment on attachment 341448 [details] [diff] [review]
add --hg-options to client.py

I'm not so sure the "i.e. --verbose" is as needed, as we already provide the -v (and --verbose) option to client.py itself...

But I'm not picky on that.
Attachment #341448 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 341448 [details] [diff] [review]
add --hg-options to client.py

http://hg.mozilla.org/comm-central/rev/484

changeset:   484:484:525ea0a20b19
tag:         tip
user:        Philippe M. Chiasson <gozer@mozillamessaging.com>
date:        Thu Oct 02 13:14:59 2008 -0400
summary:     Bug 458215. Add --hg-options to client.py to pass arbitrary options to hg. r=Callek
Attachment #341448 - Attachment filename: client.py hg args → [checked in] client.py hg args
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Checked in with a small tweak as suggested in comment #1, 

(i.e. --debug --time)
Target Milestone: --- → Thunderbird 3.0b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: