2010-02-17 71 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,看看他们在你的情况下所说的 “脏”。