[PATCH] ignore *.pyd files

Adrian Buehlmann adrian at cadifra.com
Sun Apr 13 17:57:02 CDT 2008


It would be nice if we could ignore these on Windows,
since I usually copy them from the build directory
(build\lib.win32-2.5\mercurial) right into the
mercurial dir.

pyd files are in fact dll's, which is the equivalent
of .so files on Linux.

This would save me from seeing:

> hg sta
? mercurial\base85.pyd
? mercurial\bdiff.pyd
? mercurial\diffhelpers.pyd
? mercurial\mpatch.pyd
? mercurial\parsers.pyd

Thanks!

# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1208126161 -7200
# Node ID e9bce06520fa7ddbad3f7f01cae692dc1369fb8b
# Parent  65f1b97484be50f3565a9ca59e9fbe01b3d143b8
ignore *.pyd files

*.c modules on Windows are compiled to *.pyd

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -7,6 +7,7 @@
 *.mergebackup
 *.o
 *.so
+*.pyd
 *.pyc
 *.swp
 *.prof


More information about the Mercurial-devel mailing list