This is a step towards make graft use the new state.cmdstate() class. This patch
replaces the ugly try-except with nice if-else conditionals.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG58b08f4ce5f5: graft: use state.cmdstate() to check whether graftstate exists
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.