我正在使用mr.developer跟蹤github上的一些軟件包。當我重新運行我的構建時,我得到:當mr.developer說「包'django-quoteme'很髒時,究竟是什麼意思。」
包'django-quoteme'很髒。
要反正更新嗎? [是/否/全] y
究竟是什麼意思「髒」?
我正在使用mr.developer跟蹤github上的一些軟件包。當我重新運行我的構建時,我得到:當mr.developer說「包'django-quoteme'很髒時,究竟是什麼意思。」
包'django-quoteme'很髒。
要反正更新嗎? [是/否/全] y
究竟是什麼意思「髒」?
我不知道在這方面具體是什麼意思,但在計算科學世界裏,「髒」通常意味着它被修改了。也許一個包中的文件已經被編輯過了,通過更新它,你將會失去這些改變,因此會有警告。
從http://github.com/fschulze/mr.developer:
Dirty SVN
You get an error like::
ERROR: Can't switch package 'foo' from ' https://example.com/svn/foo/trunk/ ', because it's dirty.
If you have not modified the package files under src/foo, then you can check what's going on with
status -v
. One common cause is a*.egg-info
folder which gets generated every time you run buildout and this shows up as an untracked item in svn status.You should add .egg-info to your global Subversion ignores in
~/.subversion/config
, like this:: global-ignores = *.o *.lo *.la *.al .libs *.so .so.[0-9] *.a *.pyc *.pyo *.rej ~ ## .#* .*.swp .DS_Store *.egg-info
所以看起來你應該使用status -v
,看看他們在你的情況下所說的 「髒」。
我還沒有編輯它,雖然我會檢查行結束符的變化... – chiggsy 2010-02-17 02:50:17