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 39EBF102B9 for ; Thu, 22 Aug 2013 17:14:13 +0000 (UTC) Received: (qmail 89886 invoked by uid 500); 22 Aug 2013 17:14:12 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 89871 invoked by uid 500); 22 Aug 2013 17:14:11 -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 89864 invoked by uid 99); 22 Aug 2013 17:14:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 17:14:11 +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: domain of jcorvel@gmail.com designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 17:14:05 +0000 Received: by mail-ob0-f178.google.com with SMTP id ef5so203817obb.9 for ; Thu, 22 Aug 2013 10:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=fQ2t88adLa+WFYMjpmS7MupCrNwIy5mTwZz855PQ4rA=; b=qUWxBin5G0O+4F9kQyA8SShgF2aAKATxdbR0OSZd8asFBgffTRe6jVmFrHk7cIiVcT V/7JJW92ISgerDTLvNE8a7qjzmvBd0p66raTpySK8Thl/O8VAzMpLtM2V8JtgC4YYgUa P/K1NtwagOQhJJiY2LyWQwRubaiqmFwEpnWEFF6Uyv8q6KloEiI3Uo0/AQ+iF/hvbzfD pkLckDDP5NvAz51hx1KnRKbImGxGplsO7GGvR/S6JEcYxI75rfC+lZmNivWY52lUAFkP 2iu5kOsbgJvtSNHIApKAy4BTSCJ7YvT0GuzRZVzDde1n+Hdd4nWyaUc7fQlhtopvIAek S+zQ== X-Received: by 10.182.43.132 with SMTP id w4mr15299670obl.25.1377191624413; Thu, 22 Aug 2013 10:13:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.118.102 with HTTP; Thu, 22 Aug 2013 10:13:24 -0700 (PDT) In-Reply-To: <910250F21FAA2A4E8F72DD21EA7807660906CE8C@VMJudi.corp.rotair.com> References: <910250F21FAA2A4E8F72DD21EA7807660906148C@VMJudi.corp.rotair.com> <1B05D8F50421E24799AE93B03CC284BE01CAE9CCEB@CRPMBX01.corp.cbeyond.net> <910250F21FAA2A4E8F72DD21EA78076609065B00@VMJudi.corp.rotair.com> <1B05D8F50421E24799AE93B03CC284BE01CAFDB285@CRPMBX01.corp.cbeyond.net> <910250F21FAA2A4E8F72DD21EA78076609066DB2@VMJudi.corp.rotair.com> <910250F21FAA2A4E8F72DD21EA7807660906CE46@VMJudi.corp.rotair.com> <1803569830.20130822182126@am-soft.de> <910250F21FAA2A4E8F72DD21EA7807660906CE8C@VMJudi.corp.rotair.com> From: Johan Corveleyn Date: Thu, 22 Aug 2013 19:13:24 +0200 Message-ID: Subject: Re: Switching To: John Maher Cc: =?ISO-8859-1?Q?Thorsten_Sch=F6ning?= , "users@subversion.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Aug 22, 2013 at 5:48 PM, John Maher wrote: > Actually I would call the problem the way I am using the tool. Since no = one has provided a better solution there may not be one. ... > Did you read my previous mail in this thread? IMO a better solution in your case is not to use switch, but use dedicated checkouts for each branch. If you have to do this often (say multiple times a day), perhaps create a small script that takes away some of the typing of 'svn co $URL/branches/X' On Thu, Aug 22, 2013 at 6:40 PM, John Maher wrote: > I don't think you even tried Thorsten, > > I can easily. There are actually several options. > > 1) When switching branches don't raise a conflict if all the files in the= directory are in the global ignore list. And if all that exists in a dire= ctory are files to be ignored it makes logical sense to ignore the parent d= irectory. > What do you mean with "ignore"? By switching you asked Subversion to download all the data that's meant to be there. If an unversioned directory is in the way, Subversion has no place where to put that data. Do you mean SVN should just throw away your unversioned data? That would go against one of SVN's prime directives, which is to try never to destroy any unversioned data. Those unversioned files may be very important to me (even if in the global-ignores list). > 2) A parameter could be passed to the switch command to ignore any direct= ory that ends up with only files on the global ignores list. > > 3) An OK-to-delete-if-in-conflict property could be created. > That might be possible (but this sounds *very* handwavy -- there are a lot of details in there, lots of edge cases), but that's a very dangerous flag, which makes it very much possible for people to shoot themselves in the foot. After implementing such a feature, I bet there will be more posts than yours, from people asking if they can get their data back. > And I don't even know the tool well, if I knew it better I can come up wi= th even better solutions. I'm not going to bother listing any more alterna= tives, there are plenty. Might as well wish I had a candy bar right now. = Its OK to wish, but it won't happen. I'll bet any talented developer could= come up with a solution if they tried. > Perhaps, but I can't (or at least, it would take me quite a bit of my rare free time). Perhaps someone else will jump in, but if you badly want this, I think you'll have to try describing a good (detailed) behavior yourself (and be prepared to patiently answer tough questions that may arise). --=20 Johan