Closed
Bug 898714
Opened 12 years ago
Closed 12 years ago
land mercurial changes from beagle branch
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: mozilla)
References
Details
(Whiteboard: [mozharness])
Attachments
(1 file)
1.88 KB,
patch
|
rail
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
The mercurial.py changes here:
https://github.com/escapewindow/mozharness/compare/master...beagle
This should make the beagle patch easier to review.
Assignee | ||
Comment 1•12 years ago
|
||
This is a simple one:
* only create parent_dir if parent dir (as opposed to os.path.exists(None))
* raise a VCSException if we fail to clone, rather than falling through and dying on the update
Attachment #786078 -
Flags: review?(rail)
Comment 2•12 years ago
|
||
Comment on attachment 786078 [details] [diff] [review]
mercurial
Review of attachment 786078 [details] [diff] [review]:
-----------------------------------------------------------------
::: mozharness/base/vcs/mercurial.py
@@ +195,5 @@
> cmd.extend(['-b', branch])
>
> cmd.extend([repo, dest])
> + if self.run_command(cmd, error_list=HgErrorList):
> + raise VCSException("Unable to clone %s to %s!" % (repo, dest))
Can you use something like
if self.run_command(cmd, error_list=HgErrorList) != 0:
to improve readability?
Attachment #786078 -
Flags: review?(rail) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 786078 [details] [diff] [review]
mercurial
https://hg.mozilla.org/build/mozharness/rev/b45675e93087
Attachment #786078 -
Flags: checked-in+
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•