Skip to content

Commit b49de20

Browse files
committed
Track Devtools in new path
1 parent e2fceec commit b49de20

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

app/classes/Transvision/VersionControl.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function VCSRepoName($repo)
6868
*/
6969
public static function hgPath($locale, $repo, $path)
7070
{
71-
$url = 'http://hg.mozilla.org';
71+
$url = 'https://hg.mozilla.org';
7272

7373
// remove entity from path and store it in a variable
7474
$path = explode(':', $path);
@@ -124,6 +124,8 @@ public static function hgPath($locale, $repo, $path)
124124
'browser/branding/nightly/',
125125
'browser/branding/unofficial/',
126126
'browser/',
127+
'devtools/client/',
128+
'devtools/shared/',
127129
'layout/tools/layout-debug/ui/',
128130
'dom/',
129131
'webapprt/',

app/config/list_rep_mozilla-central.txt

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
./browser/branding/official/locales/en-US
77
./browser/branding/unofficial/locales/en-US
88
./browser/locales/en-US
9+
./devtools/client/locales/en-US
10+
./devtools/shared/locales/en-US
911
./dom/locales/en-US
1012
./extensions/spellcheck/locales/en-US
1113
./intl/locales/en-US

app/scripts/tmxmaker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def php_close_array(target_file):
7373
dirs_reference = [x for x in dirs_reference if x not in exclusionlist]
7474
else:
7575
dirs_reference = [
76-
"browser", "calendar", "chat", "dom", "editor",
76+
"browser", "calendar", "chat", "devtools", "dom", "editor",
7777
"extensions", "mail", "mobile", "netwerk", "other-licenses",
7878
"security", "services", "suite", "toolkit", "webapprt"
7979
]

tests/units/Transvision/VersionControl.php

+23-5
Original file line numberDiff line numberDiff line change
@@ -79,26 +79,44 @@ public function hgFileDP()
7979
'fr',
8080
'beta',
8181
'browser/updater/updater.ini:TitleText',
82-
'http://hg.mozilla.org/releases/l10n/mozilla-beta/fr/file/default/browser/updater/updater.ini',
82+
'https://hg.mozilla.org/releases/l10n/mozilla-beta/fr/file/default/browser/updater/updater.ini',
8383
],
8484
[
8585
'es-ES',
8686
'gaia',
8787
'apps/settings/settings.properties:usb-tethering',
88-
'http://hg.mozilla.org/gaia-l10n/es/file/default/apps/settings/settings.properties',
88+
'https://hg.mozilla.org/gaia-l10n/es/file/default/apps/settings/settings.properties',
8989
],
9090
[
9191
'de',
9292
'gaia',
9393
'shared/date/date.properties:month-7-long',
94-
'http://hg.mozilla.org/gaia-l10n/de/file/default/shared/date/date.properties',
94+
'https://hg.mozilla.org/gaia-l10n/de/file/default/shared/date/date.properties',
9595
],
9696
[
9797
'sr-Cyrl',
9898
'gaia_2_0',
9999
'shared/date/date.properties:month-7-long',
100-
'http://hg.mozilla.org/releases/gaia-l10n/v2_0/sr-Cyrl/file/default/shared/date/date.properties',
101-
],
100+
'https://hg.mozilla.org/releases/gaia-l10n/v2_0/sr-Cyrl/file/default/shared/date/date.properties',
101+
],
102+
[
103+
'en-US',
104+
'beta',
105+
'browser/chrome/browser/aboutPrivateBrowsing.dtd:aboutPrivateBrowsing.info.cookies',
106+
'https://hg.mozilla.org/releases/mozilla-beta/file/default/browser/locales/en-US/chrome/browser/aboutPrivateBrowsing.dtd',
107+
],
108+
[
109+
'en-US',
110+
'central',
111+
'devtools/shared/gclicommands.properties:appCacheViewEntryManual',
112+
'https://hg.mozilla.org/mozilla-central/file/default/devtools/shared/locales/en-US/gclicommands.properties',
113+
],
114+
[
115+
'en-US',
116+
'aurora',
117+
'devtools/client/memory.properties:heapview.field.totalcount',
118+
'https://hg.mozilla.org/releases/mozilla-aurora/file/default/devtools/client/locales/en-US/memory.properties',
119+
],
102120
];
103121
}
104122

0 commit comments

Comments
 (0)