Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C8CD6F88 for ; Tue, 14 Jun 2011 23:07:43 +0000 (UTC) Received: (qmail 30976 invoked by uid 500); 14 Jun 2011 23:07:42 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 30959 invoked by uid 500); 14 Jun 2011 23:07:42 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 30952 invoked by uid 99); 14 Jun 2011 23:07:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 23:07:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 23:07:34 +0000 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id ECF42202B3; Tue, 14 Jun 2011 19:07:13 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 14 Jun 2011 19:07:13 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:in-reply-to; s=smtpout; bh=j+zgF0RHy8EGMhJZ1lYIfBoi7Ls=; b=mfTo9XcXkD/YK1WTRs7eAZmpqMp6TLC74XcfngLBcS3QaFlCfzWJ62uD1E/NuS6ekIXqmbQh1XiyND79e8ELwpNla6T2StzfK9O+9MRtxADfgcca3oU5rjo4TmMEYNAZF4hZvUDNWRkihqHRBjj2TRgegb58aWdE4J/irJMjI4Y= X-Sasl-enc: TlnUNyIJwJQE0EohKsTF8WIzAWcFgzQvwnOddVaTDTGKTIT1xIeOpKoGvnt8hQ 1308092833 Received: from lp-shahaf.local (unknown [132.67.3.238]) by mail.messagingengine.com (Postfix) with ESMTPSA id 1F34D4434A8; Tue, 14 Jun 2011 19:07:12 -0400 (EDT) Date: Wed, 15 Jun 2011 02:07:00 +0300 From: Daniel Shahaf To: Markus Schaber Cc: users@subversion.apache.org Subject: Re: Revert only whitespace changes Message-ID: <20110614230700.GA6184@lp-shahaf.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org Markus Schaber wrote on Tue, Jun 14, 2011 at 11:47:48 +0200: > Is there any tool which reverts all those whitespace-only changes, > keeping only the "real" changes in the file? > svn diff foo > 1 svn revert foo patch < ./1 || svn patch ./1 > Bonus points for a tool which keeps real indentation changes, and only > discards tab<->space conversions which do not change the indentation > level. :-) vim -c 'source /dev/mind-reader' -c 'wq' Not all OS's provide the necessary device file, though.