Skip to content

Commit

Permalink
Use mozilla-unified instead of mozilla-central for the commit classif…
Browse files Browse the repository at this point in the history
…ier (#3404)

Fixes #1507
  • Loading branch information
Emeka-Onwuepe committed May 2, 2023
1 parent a7b7659 commit dc2cce8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/commit_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def __init__(
self.git_repo_dir = git_repo_dir
if git_repo_dir:
self.clone_git_repo(
"hg::https://hg.mozilla.org/mozilla-central", git_repo_dir
"hg::https://hg.mozilla.org/mozilla-unified", git_repo_dir
)

self.revision = None
Expand Down Expand Up @@ -247,7 +247,9 @@ def clone_git_repo(self, repo_url, repo_dir, rev="origin/branches/default/tip"):
)

def update_commit_db(self):
repository.clone(self.repo_dir, update=True)
repository.clone(
self.repo_dir, "https://hg.mozilla.org/mozilla-unified", update=True
)

assert db.download(repository.COMMITS_DB, support_files_too=True)

Expand Down

0 comments on commit dc2cce8

Please sign in to comment.