equal
deleted
inserted
replaced
18 assert args is None |
18 assert args is None |
19 return _stopgraft(ui, repo, graftstate) |
19 return _stopgraft(ui, repo, graftstate) |
20 elif action == "GRAFT": |
20 elif action == "GRAFT": |
21 return _graft_revisions(ui, repo, graftstate, *args) |
21 return _graft_revisions(ui, repo, graftstate, *args) |
22 else: |
22 else: |
23 raise error.ProgrammingError(b'unknown action: %s' % action) |
23 raise error.ProgrammingError('unknown action: %s' % action) |
24 |
24 |
25 |
25 |
26 def _process_args(ui, repo, *revs, **opts): |
26 def _process_args(ui, repo, *revs, **opts): |
27 """process the graft command argument to figure out what to do |
27 """process the graft command argument to figure out what to do |
28 |
28 |