Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed mozilla-central to mozilla-unified for commit classifier #3404

Merged
merged 4 commits into from
May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/commit_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,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.method_defect_predictor_dir = method_defect_predictor_dir
Expand Down Expand Up @@ -236,7 +236,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