The logic to read the current graft state format is moved in a separate function
so that can be used in future when we need to fallback reading to current graft
state.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/state.py | ||
---|---|---|
117–120 | Shouldn't this code be in commands.py? I don't think we should centralize the code for parsing all old formats in state.py. That will not happen with third-party extensions anyway, of course. |
mercurial/state.py | ||
---|---|---|
117–120 | No strong reason to have it here. I will move it in commands.py. |
Shouldn't this code be in commands.py? I don't think we should centralize the code for parsing all old formats in state.py. That will not happen with third-party extensions anyway, of course.