equal
deleted
inserted
replaced
1242 del opts['rev'] |
1242 del opts['rev'] |
1243 # positional argument from pull conflicts with rebase's own |
1243 # positional argument from pull conflicts with rebase's own |
1244 # --source. |
1244 # --source. |
1245 if 'source' in opts: |
1245 if 'source' in opts: |
1246 del opts['source'] |
1246 del opts['source'] |
|
1247 # revsprepull is the len of the repo, not revnum of tip. |
|
1248 destspace = list(repo.changelog.revs(start=revsprepull)) |
|
1249 opts['_destspace'] = destspace |
1247 try: |
1250 try: |
1248 rebase(ui, repo, **opts) |
1251 rebase(ui, repo, **opts) |
1249 except error.NoMergeDestAbort: |
1252 except error.NoMergeDestAbort: |
1250 # we can maybe update instead |
1253 # we can maybe update instead |
1251 rev, _a, _b = destutil.destupdate(repo) |
1254 rev, _a, _b = destutil.destupdate(repo) |