This is "a tad more complicated" than the previous cases. See inline
documentation for details (have fun).
Details
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Whew, that was a read.
The logic looks good to me, aside from the special case that I don't really understand, but we're not handling it yet.
I appreciate you taking the time to write a thorough docstring, though my suggestion could probably help in simplifying it.
mercurial/metadata.py | ||
---|---|---|
302 | I found that listing the symmetrical cases as separate (B/G, C/H, D/I, E/J, F/K and N/O) rather than the same to be confusing. Maybe just reuse the same letter for each pair? | |
396 | I'm not entirely sure I understand how sure a case happens.
That sounds like a cycle, so I'm sure I'm just confused
How is that even possible? |
mercurial/metadata.py | ||
---|---|---|
302 | They are the same, but we arrive to them from slightly different angle. So I prefer to have a distinct letter for them because you never know what can hide in these angles. | |
396 |
This happened when a bugged client, created a bugged manifest. This is bad, but this happened in the past. They are no cycle in the filelog history. |
I found that listing the symmetrical cases as separate (B/G, C/H, D/I, E/J, F/K and N/O) rather than the same to be confusing. Maybe just reuse the same letter for each pair?