fix make clean damaging hg repos
PATCH 1/1 fix make clean damaging hg repos
# HG changeset patch
# User Matt Mackall <[email protected]>
# Node ID d3e83cde10ebc2a570503c1ff9c4d9e8f37f4af9 # Parent 915766b005c1a990ea360affa0c025087e45c723 Keep make clean from deleting files in .hg
Running 'make clean' was quietly deleting files in Mercurial kernel repositories matching '.*.d', which was corrupting the tags portions of the repository. Spotted and fixed by several people.
Signed-off-by Matt Mackall <[email protected]>
Makefile +2 -2
@@ -374,8 +374,8 @@ # Files to ignore in find ... statements -RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc \) -prune -o -RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc +RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o +RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg # =========================================================================== # Rules shared between *config targets and build targets
Signature · 1 line
Mathematics is the supreme nostalgia of our time.