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 BAA8EE85E for ; Tue, 5 Feb 2013 23:42:28 +0000 (UTC) Received: (qmail 30777 invoked by uid 500); 5 Feb 2013 23:42:28 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 30760 invoked by uid 500); 5 Feb 2013 23:42:28 -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 30752 invoked by uid 99); 5 Feb 2013 23:42:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 23:42:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 23:42:20 +0000 Received: by mail-wi0-f171.google.com with SMTP id hn17so3644737wib.10 for ; Tue, 05 Feb 2013 15:41:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language:x-gm-message-state; bh=4gWVAxA0ApBpRaBoxYIbqF74hx6AVPl2vCz4VJBEpQM=; b=j2WvQwCBmozsmk2Fk1a5yJpv/r1B46+hVkpxksJCacxnmSfKOvsrwfQrvFFUpqt1UE T9toftpqy6VMRqfoD/dNP3XElbiH5ZTr5Y/z6GENHO0gPpY9EDoaK142mKES6RO8I0w8 l1KZ+fbjsPeRpClnOsqkZOzYDPYPwQsxA5s67E3G0GkTzY0n6G4FqodQO2NxuRE6BANf OsFzB1fiTaOxLYRUdwNRo6I9eXzzUJwGzvDpesVJeL+A8FDUcP3M/A0xRrvqaxL8Gd7K v6oeJgsanUob+Xh9JjG/vXxZJmDs+bB1lZ6Dc/Ty7Zb7zZTYDDZe4WzFlhfGNbaLRiar gr1A== X-Received: by 10.180.77.35 with SMTP id p3mr1402049wiw.18.1360107719288; Tue, 05 Feb 2013 15:41:59 -0800 (PST) Received: from i72600 ([2001:610:66e:0:59f6:6194:a164:dbd7]) by mx.google.com with ESMTPS id gz3sm821850wib.2.2013.02.05.15.41.57 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 15:41:58 -0800 (PST) From: "Bert Huijben" To: "'Stefan Sperling'" , "'Johan Corveleyn'" Cc: "'Alexey Neyman'" , , "'Alfred Perlstein'" References: <510A8FAA.2020903@mu.org> <201302041154.22334.stilor@att.net> <20130204211729.GI32109@byrne.stsp.name> <1925822.W2HtcYFXhn@etoile> <20130205160840.GA32341@byrne.stsp.name> <20130205230759.GE32341@byrne.stsp.name> In-Reply-To: <20130205230759.GE32341@byrne.stsp.name> Subject: RE: FreeBSD project and subversion. Date: Wed, 6 Feb 2013 00:41:52 +0100 Message-ID: <088501ce03fa$60f661b0$22e32510$@qqmail.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJcamsSgue8XdbfqVcRbFGvxWvZgAIETLQNAv5ndcQCOKN+wAHqfiHsAZjziO4Cg78ewQGa1WnkltgzmwA= Content-Language: nl X-Gm-Message-State: ALoCoQks3+3lR4a0tx73owSAL7sAj3AQVqPHa7vCVvTZfsdOtTJ7zcM8qNuMkML50AkNw+7sYZn7 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Stefan Sperling [mailto:stsp@apache.org] > Sent: woensdag 6 februari 2013 00:08 > To: Johan Corveleyn > Cc: Alexey Neyman; users@subversion.apache.org; Alfred Perlstein > Subject: Re: FreeBSD project and subversion. > > On Tue, Feb 05, 2013 at 09:18:33PM +0100, Johan Corveleyn wrote: > > Hmm, okay, but I would have preferred some more discussion before you > > implemented this. It's not clear to me that this decreases the > > surprises. I can perfectly imagine just as many questions being asked > > on users@ with the question: "Why does 'svn diff left.txt right.txt' > > give me an empty diff, while 'svn diff ^/left.txt right.txt' does the > > right thing?" > > > > I think it would be better to consistently point users to the > > --old/--new syntax, so as to educate users more (so I'm okay with the > > change in the error message), not hide it even more from them. > > Well, the point that convinced me was that previously 'svn diff' raised > an error in the case of 'svn diff ^/left.txt right.txt'. > That's clearly intended to be a comparison between a URL and a path, > which the diff code already supports. So I think the diff code should > just show an appropriate diff. I don't see how people could be conflating > a URL->WC or WC->URL diff with a WC->WC diff. > > BTW, I'm thinking about adding more shortcuts: > > svn diff UNVERSIONED-PATH WCPATH > svn diff WCPATH UNVERSIONED-PATH > svn diff UNVERSIONED-PATH1 UNVERSIONED-PATH2 > > All of which are supported by 'svn diff --old=X --new=Y' (in 1.8-to-be, > not in 1.7), but not by plain 'svn diff'. I'm not sure if I like these variants with unversioned paths. This might make users think that these paths are versioned and without warning who wouldn't expect that? The new unversioned/arbitrary diff is nice in specific situations, but it shouldn't' break the normal cases where 'svn diff *' would do one thing completely differently if it happens to match exactly two files, where one is versioned and one is not, or both are unversioned. If we want something like that we should support that with a flag like --unversioned (better name suggestions welcome) I really like the url vs path diff changes though. Bert