##// END OF EJS Templates
graft: use cmdstate.delete() to delete the state file...
Pulkit Goyal -
r38168:0dfa27e5 default
parent child Browse files
Show More
@@ -2379,7 +2379,7 b' def _dograft(ui, repo, *revs, **opts):'
2379
2379
2380 # remove state when we complete successfully
2380 # remove state when we complete successfully
2381 if not opts.get('dry_run'):
2381 if not opts.get('dry_run'):
2382 repo.vfs.unlinkpath('graftstate', ignoremissing=True)
2382 graftstate.delete()
2383
2383
2384 return 0
2384 return 0
2385
2385
General Comments 0
You need to be logged in to leave comments. Login now