From 70cf70902f5c0affe805e8c6ffe5d384f0916e86 Mon Sep 17 00:00:00 2001 From: Jeremy Satterfield Date: Thu, 7 Sep 2017 22:59:15 -0500 Subject: [PATCH] force reclone of editable git if url changes Fixes #484 --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 39ead9c2..936b7a6d 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -738,7 +738,7 @@ def pip_install(package_name=None, r=None, allow_global=False, ignore_hashes=Fal no_deps = '--no-deps' if no_deps else '' - pip_command = '"{0}" install {3} {1} -i {2}'.format(which_pip(allow_global=allow_global), install_reqs, source['url'], no_deps) + pip_command = '"{0}" install {3} {1} -i {2} --exists-action w'.format(which_pip(allow_global=allow_global), install_reqs, source['url'], no_deps) if verbose: click.echo('$ {0}'.format(pip_command), err=True)