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
Lint Skipped - Unit
Unit Tests Skipped