对于我使用的其中一个库,我正在尝试从 mercurial 存储库切换到 git。不幸的是,当我尝试使用新的 requirements.txt 文件推送项目时,我得到了这个:
Obtaining django-storages from git+https://github.com/richleland/django-storages/#egg=django_storages (from -r requirements.txt (line 2))
Directory /tmp/build_3lujzy9ddaetm/.heroku/src/django-storages already exists, and is not a git clone.
The plan is to install the git repository https://github.com/richleland/django-storages/
What to do? (i)gnore, (w)ipe, (b)ackup Exception:
Traceback (most recent call last):
...
EOFError: EOF when reading a line
用 push -f 强制它以相同的消息结束。我该如何进行这项工作?
请您参考如下方法:
Heroku 团队通过推出新的 Python buildpack 解决了这个问题,使用 wipe 作为这种冲突的默认值。
