Closed Bug 1059950 Opened 10 years ago Closed 10 years ago

runner's update_shared_repos task fails when hg share dir is empty

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1053742

People

(Reporter: bhearsum, Unassigned)

Details

I noticed this while porting to Ubuntu, on a machine than has never run a job. The problem seems to be the fact that we're passing along to xargs:
[root@tst-bhearsum-ubuntu.test.releng.use1.mozilla.com ~]# find /builds/hg-shared -type d -name .hg -not -wholename '*l10n*' -not -wholename '*try*' -prune -printf '%h\0' | xargs -0 -P4 -t -n 1 echo hg pull -R
echo hg pull -R 
hg pull -R


Is there a reason we don't "-exec hg pull -R {} \;" instead?
The xargs -P4 trick parallelizes the updates.
Turns out this already has a fix in progress elsewhere.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.