Closed Bug 779247 Opened 12 years ago Closed 12 years ago

add copy/paste output to BaseScript

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: mozilla)

Details

Attachments

(1 file)

run_command and get_output_from_command can take a list as a command, but the output could be more friendly to copy/paste.
Sample output:

12:13:12     INFO - Running command: ['hg', '--config', 'ui.merge=internal:merge', 'update', '-C'] in /src/runcmd/graphs
12:13:12     INFO - Copy/paste: hg --config ui.merge=internal:merge update -C
12:13:13     INFO -  311 files updated, 0 files merged, 0 files removed, 0 files unresolved
12:13:13     INFO - Return code: 0
12:13:13     INFO - Getting output from command: ['hg', '--config', 'ui.merge=internal:merge', 'parent', '--template', '{node|short}'] in /src/runcmd/graphs
12:13:13     INFO - Copy/paste: hg --config ui.merge=internal:merge parent --template {node|short}
12:13:13     INFO - Reading from file tmpfile_stdout
12:13:13     INFO - Output received:
12:13:13     INFO -  da54bac92c1b
12:13:13     INFO - Got revision da54bac92c1b
Attachment #647633 - Flags: review?(rail)
Comment on attachment 647633 [details] [diff] [review]
add copy/paste output

Review of attachment 647633 [details] [diff] [review]:
-----------------------------------------------------------------

Happy to r+ this aki, not sure if you should accept me instead of rail though
Attachment #647633 - Flags: review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: