对于我使用的其中一个库,我正在尝试从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
以相同的消息结束。我如何使这项工作?
答案 0 :(得分:1)
Heroku团队通过推送一个新的Python buildpack来修复它,使用wipe
作为此类冲突的默认值。