2012-07-07 50 views
2

對於我使用的庫中的一個,我試圖從mercurial存儲庫切換到git。不幸的是,當我試圖推動新的requirements.txt文件的項目,我得到這個:Heroku:更改requirements.txt後出現「directory exists」錯誤

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迫使其與相同的消息結束。我如何完成這項工作?

回答

1

它由Heroku團隊通過推送新的Python buildpack修復,使用wipe作爲此類衝突的默認值。

+0

感謝您的回答! – FRD 2012-12-01 02:41:13