(I foresaw this problem might happen 3 months ago, and was told to be diligent to avoid it. Yesterday, I was bitten by it, hard, and now that it has cost me real money, I am kee
I use the .hgignore
file to skip versionning of all my .pyc and .py~ (editor's temp files). For example, this is my version :
# use glob syntax.
syntax: glob
.directory
*.pyc
*~
*.o
*.tgz
*.tbz2
*.gz
*.bz2
Also adding a hook on update to remove them is also a interesting trick if you want to not only ignore noise but remove it from your local workspace area.