public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Andrew Morton <akpm@osdl.org>, sam@ravnborg.org
Cc: linux-kernel <linux-kernel@vger.kernel.org>, mercurial@selenic.com
Subject: [PATCH] fix make clean damaging hg repos
Date: Mon, 8 Aug 2005 21:10:27 -0700	[thread overview]
Message-ID: <20050809041026.GA11030@waste.org> (raw)

# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# 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 <mpm@selenic.com>

diff -r 915766b005c1 -r d3e83cde10eb Makefile
--- a/Makefile	Sat Aug  6 20:06:30 2005
+++ b/Makefile	Tue Aug  9 04:08:06 2005
@@ -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


-- 
Mathematics is the supreme nostalgia of our time.

                 reply	other threads:[~2005-08-09  4:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050809041026.GA11030@waste.org \
    --to=mpm@selenic.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mercurial@selenic.com \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox