Mercurial > hg
comparison mercurial/commands.py @ 48241:7d1e60244561
path: keep the path instance in the `pulloperation`
This will allow more pull code to use the path options. Ideally we would modify
the peer API to keep the path instance. However that is much more churn that I
can deal with for my current goal: adjusting a user facing API for a new
feature before we release it in the 6.0 changesets. So I am taking a shortcut
that seems reasonable.
Differential Revision: https://phab.mercurial-scm.org/D11674
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 15 Oct 2021 03:28:28 +0200 |
parents | 607e9322fc89 |
children | 76c071bba40d |
comparison
equal
deleted
inserted
replaced
48240:607e9322fc89 | 48241:7d1e60244561 |
---|---|
5452 with wlock: | 5452 with wlock: |
5453 pullopargs.update(opts.get(b'opargs', {})) | 5453 pullopargs.update(opts.get(b'opargs', {})) |
5454 modheads = exchange.pull( | 5454 modheads = exchange.pull( |
5455 repo, | 5455 repo, |
5456 other, | 5456 other, |
5457 path=path, | |
5457 heads=nodes, | 5458 heads=nodes, |
5458 force=opts.get(b'force'), | 5459 force=opts.get(b'force'), |
5459 bookmarks=opts.get(b'bookmark', ()), | 5460 bookmarks=opts.get(b'bookmark', ()), |
5460 opargs=pullopargs, | 5461 opargs=pullopargs, |
5461 confirm=opts.get(b'confirm'), | 5462 confirm=opts.get(b'confirm'), |