equal
deleted
inserted
replaced
2377 _('note: graft of %d:%s created no changes to commit\n') % |
2377 _('note: graft of %d:%s created no changes to commit\n') % |
2378 (ctx.rev(), ctx)) |
2378 (ctx.rev(), ctx)) |
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 |
2386 def _readgraftstate(repo, graftstate): |
2386 def _readgraftstate(repo, graftstate): |
2387 """read the graft state file and return a dict of the data stored in it""" |
2387 """read the graft state file and return a dict of the data stored in it""" |