The python code will not work because it's trying to look for a CVS directory that does not exist in the mozilla-central folder.
'''Answer ''': This happens because the default setting for msys git on Windows is to checkout files with CRLF line endings. To fix this, you need to reinstall msys git and when you get to ''Configure the line ending conversions'', choose option 2 ''Checkout as-is, commit Unix-style line endings'' here http://help.github.com/images/bootcamp/bootcamp_1_win_install_7.jpg. Once you've reinstalled msys git, you need to checkout the repository with the correct LF line endings with the following commands:
git ls-files -z | xargs -0 rm;
git checkout .