mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Use hg pull instead of hg fetch. There's no reason to want the auto-merge that fetch performs, and fetch refuses to run on repos with multiple heads, or if there are local changes.
This commit is contained in:
parent
11f5eadb21
commit
54d2fc27d9
2
pip.py
2
pip.py
|
@ -3081,7 +3081,7 @@ class Mercurial(VersionControl):
|
|||
% (display_path(dest), url))
|
||||
logger.notify('Updating clone %s%s'
|
||||
% (display_path(dest), rev_display))
|
||||
call_subprocess(['hg', 'fetch', '-q'], cwd=dest)
|
||||
call_subprocess(['hg', 'pull', '-q'], cwd=dest)
|
||||
call_subprocess(
|
||||
['hg', 'update', '-q'] + rev_options, cwd=dest)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue