Add typing and clean up some code in the mercurial backend.
Review Request #13601 — Created March 4, 2024 and submitted — Latest diff uploaded
This change adds type hints throughout the mercurial implementation, and
cleans up some of the style and comments throughout.While going through this code I realized that the
check_repository
implementation was instantiating HgClient incorrectly with the local
site. I've changed it so that everywhere passes the local site name.
Ran unit tests.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
Commits
reviewboard/scmtools/hg.py |
---|
reviewboard/scmtools/tests/test_hg.py |
---|