There is no good reason why are having a space delimited list and then using
.split() to get the actual list. Let's convert this into a proper tuple.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG909dafff6a78: store: refactor space delimited list to proper data structure
Diff Detail
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
mercurial/store.py | ||
---|---|---|
458 | + File "/home/gps/src/hg-committed/mercurial/store.py", line 458, in copylist + return [b'requires'] + _data + TypeError: can only concatenate list (not "tuple") to list I think I'll just change _data to a list in-flight. |
I think I'll just change _data to a list in-flight.