This revision was automatically updated to reflect the committed changes.
Closed by commit rHG58b08f4ce5f5: graft: use state.cmdstate() to check whether
graftstate exists (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
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.
REPOSITORY
rHG