зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1098406: Fix gaia repository path r=garndt.
A commit in the mozilla-central repository [1] broke the gaia URL repository URL construction code. We now make sure our code works independent of the leading slash presence. [1] http://hg.mozilla.org/mozilla-central/rev/f3782f5c2710 --HG-- extra : rebase_source : b9266befc06d3566c22dc68581550ac8da798947 extra : source : 24b368aaa3cb6baff2f7de260d66d2719de63019
This commit is contained in:
Родитель
eb60a85d85
Коммит
896c3e7454
|
@ -1 +1 @@
|
|||
0.0.21
|
||||
0.0.22
|
||||
|
|
|
@ -26,7 +26,7 @@ fi
|
|||
### Pull and update gaia
|
||||
cd $gaia_dir
|
||||
GAIA_REV=$(get_gaia_revision.js)
|
||||
GAIA_REPO="https://hg.mozilla.org$(get_gaia_repo.js)"
|
||||
GAIA_REPO="$(get_gaia_repo.js)"
|
||||
hg pull -r $GAIA_REV $GAIA_REPO;
|
||||
hg update $GAIA_REV;
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#! /usr/bin/env node
|
||||
var fs = require('fs');
|
||||
var url = require('url');
|
||||
var data = fs.readFileSync('/home/worker/mozilla-central/source/b2g/config/gaia.json');
|
||||
console.log(JSON.parse(data).repo_path);
|
||||
|
||||
var repo_path = JSON.parse(data).repo_path;
|
||||
console.log(url.resolve('https://hg.mozilla.org', repo_path));
|
||||
|
|
Загрузка…
Ссылка в новой задаче