From users-return-3952-apmail-subversion-users-archive=subversion.apache.org@subversion.apache.org Wed Jul 28 21:55:36 2010 Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 58334 invoked from network); 28 Jul 2010 21:55:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jul 2010 21:55:36 -0000 Received: (qmail 13809 invoked by uid 500); 28 Jul 2010 21:55:35 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 13767 invoked by uid 500); 28 Jul 2010 21:55:35 -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 13760 invoked by uid 99); 28 Jul 2010 21:55:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 21:55:35 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FREEMAIL_FROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcvsu-users-2@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 21:55:26 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OeEad-0002uh-Ew for users@subversion.apache.org; Wed, 28 Jul 2010 23:55:03 +0200 Received: from 65.203.131.194 ([65.203.131.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 23:55:03 +0200 Received: from spoon.reloaded by 65.203.131.194 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 23:55:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@subversion.apache.org From: Bob Subject: "svn diff" works for added files in working copy, but not for previous revision Date: Wed, 28 Jul 2010 21:48:33 +0000 (UTC) Lines: 10 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 65.203.131.194 (Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8) X-Virus-Checked: Checked by ClamAV on apache.org Hi, When I do "svn diff file1" on a file that I just added to my working copy since the last commit, it prints a diff that shows the entire file being added. However, if I had a file that was added in a previous revision (say 42), and I try to do "svn diff -c 42 file2", it doesn't work. It gives the error: svn: Unable to find repository location for 'file2' in revision 41 Of course, it is true that the file did not exist in revision 41. But all I want is to see the same diff information as I get from a working copy, i.e. a diff that shows the added file in revision 42. Is there a way I can do that?