Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCD6DD8CA for ; Tue, 4 Sep 2012 15:53:31 +0000 (UTC) Received: (qmail 69500 invoked by uid 500); 4 Sep 2012 15:53:31 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 69475 invoked by uid 500); 4 Sep 2012 15:53:31 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 69467 invoked by uid 99); 4 Sep 2012 15:53:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 15:53:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 15:53:30 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D6062238897F; Tue, 4 Sep 2012 15:52:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1380697 - /subversion/trunk/subversion/libsvn_client/diff.c Date: Tue, 04 Sep 2012 15:52:47 -0000 To: commits@subversion.apache.org From: stsp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120904155247.D6062238897F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stsp Date: Tue Sep 4 15:52:47 2012 New Revision: 1380697 URL: http://svn.apache.org/viewvc?rev=1380697&view=rev Log: * subversion/libsvn_client/diff.c: (diff_content_changed): Mark path as visited if diffed by external tool. Fixes duplicate occurrences of Index: lines. Patch by: Alexey Neyman Modified: subversion/trunk/subversion/libsvn_client/diff.c Modified: subversion/trunk/subversion/libsvn_client/diff.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/diff.c?rev=1380697&r1=1380696&r2=1380697&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_client/diff.c (original) +++ subversion/trunk/subversion/libsvn_client/diff.c Tue Sep 4 15:52:47 2012 @@ -1044,6 +1044,9 @@ diff_content_changed(const char *path, subpool, subpool)); SVN_ERR(svn_stream_copy3(stream, svn_stream_disown(errstream, subpool), NULL, NULL, subpool)); + + /* We have a printed a diff for this path, mark it as visited. */ + mark_path_as_visited(diff_cmd_baton, path); } else /* use libsvn_diff to generate the diff */ {