2010-02-17 69 views

回答

4

我不知道在這方面具體是什麼意思,但在計算科學世界裏,「髒」通常意味着它被修改了。也許一個包中的文件已經被編輯過了,通過更新它,你將會失去這些改變,因此會有警告。

http://en.wikipedia.org/wiki/Dirty_%28computer_science%29

+0

我還沒有編輯它,雖然我會檢查行結束符的變化... – chiggsy 2010-02-17 02:50:17

5

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,看看他們在你的情況下所說的 「髒」。