Details
- Reviewers
durin42 baymax - Group Reviewers
hg-reviewers
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
hgext/histedit.py | ||
---|---|---|
1127 ↗ | (On Diff #14477) | Is this change required for this patch? |
Oh sorry ,my bad I think that is by mistake I will correct it now
Ithink while committing I added that file by mistake
I find it troubling that we now have contributors that don't follow #1 in https://www.mercurial-scm.org/wiki/ContributingChanges#Submission_checklist. Potentially #4 too (as Pulkit commented).
Seriously, the title is terrible at describing what this patch fixes and where. The commit message could briefly mention why/when this condition is even required.
mercurial/similar.py | ||
---|---|---|
66–67 | This is some... interesting syntax. Is this valid Python? |
mercurial/similar.py | ||
---|---|---|
66–69 | This returns None in some cases, and code that uses _score() and score() tries to compare it to an integer. In Python3 None > 1 raises TypeError. |
Okay, let's go over #1 in https://www.mercurial-scm.org/wiki/ContributingChanges#Submission_checklist once more. If you want to know what a good "topic" is, look at what other people do. How patches that get accepted generally look. How bug-fixing commits are worded.
Secondly, about that capitalization. I'm sorry if this is some sort of silly autocorrect that's doing it for you, I really hope you're not writing commit messages on a phone.
mercurial/similar.py | ||
---|---|---|
66–70 | None > 1 is still an issue, see my comment above. |
sorry for that , but can you tell me in what condition this function will return none value?
mercurial/similar.py | ||
---|---|---|
68 | yes actually 😅 i did'nt noticed that |
There seems to have been no activities on this Diff for the past 3 Months.
By policy, we are automatically moving it out of the need-review state.
Please, move it back to need-review without hesitation if this diff should still be discussed.
:baymax:need-review-idle:
we can do if lengths: here.