Skip to content
Snippets Groups Projects
Commit 58b08f4c authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

graft: use state.cmdstate() to check whether graftstate exists

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.

Differential Revision: https://phab.mercurial-scm.org/D3652
parent 009aa4af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment