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 CF59D100DA for ; Tue, 2 Dec 2014 20:28:58 +0000 (UTC) Received: (qmail 76789 invoked by uid 500); 2 Dec 2014 20:28:58 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 76761 invoked by uid 500); 2 Dec 2014 20:28:58 -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 76751 invoked by uid 99); 2 Dec 2014 20:28:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 20:28:57 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 209.85.213.185 is neither permitted nor denied by domain of xsli2@yahoo.com) Received: from [209.85.213.185] (HELO mail-ig0-f185.google.com) (209.85.213.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 20:28:53 +0000 Received: by mail-ig0-f185.google.com with SMTP id a13so2006359igq.22 for ; Tue, 02 Dec 2014 12:28:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=date:from:to:message-id:subject:mime-version:content-type; bh=CIVXsoY1nTZvesuXwAIOh/Z9GYrS+j+puotqMBdSaM8=; b=kN6Vco9I4vCH3r06H8u9tiNeBeAw4/avfZtreHYvWKvjyaDfdEl1+uHwVLYaI4cal9 x5HNLtigVsVZ1sXVMdw8RM2bdHpNeTW76KH1bhzWy3AaQYu8CL6tDola0iJQsTx0RMA2 J3Wlo0c5w1MocL5VwtBGEuT+ngVscwkwkGdl4kh65adkp3DoVLdBvamI0ZuoCu7RyFl2 WPp7Bjfg9/QXChAiZGia7xdSdft/PwITuiGFpDjLdGxqQed5+sPSotD634Ahw7ojCM+S s4snM4bTY5MMZjj2dkHTrcI7Y7z94V3HhA5UMJSrypCmCUex42G5nSiOF7mgWXuc7l5T mJIw== X-Received: by 10.140.108.161 with SMTP id j30mr321qgf.42.1417552112980; Tue, 02 Dec 2014 12:28:32 -0800 (PST) X-Google-Doc-Id: d09e02d06017334 X-Google-Web-Client: true Date: Tue, 2 Dec 2014 12:28:32 -0800 (PST) From: frame To: subversion_users@googlegroups.com Message-Id: <11214168-ef4e-48e8-a3ef-9c82993d5d9b@googlegroups.com> Subject: how to remove a directory in my local copy when using TortoisSVN sparse checkout? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_766_1686599744.1417552112077" X-Google-IP: 72.192.242.74 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_766_1686599744.1417552112077 Content-Type: multipart/alternative; boundary="----=_Part_767_2045240655.1417552112077" ------=_Part_767_2045240655.1417552112077 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi: We use svn both on Linux and on PC. On Linux: $svn --version svn, version 1.6.11 (r934486) compiled Feb 12 2014, 06:45:35 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). ... On PC cygwin: $ svn --version svn, version 1.7.7 (r1393599) compiled Oct 8 2012, 20:42:17 Copyright (C) 2012 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ I believe on PC we are using TortoiseSVN. Now I found that something I can make it work on Linux, but not on PC cygwin command line: let's say the root of our repository is http://a_a_a/b_b_b/ROOT svn checkout --depth empty http://a_a_a/b_b_b/ROOT root //<--I don't want EVERYTHING under root. I am a big fan of sparse checkout. I want to cherry-pick what i want to my local copy cd root //now, command "ls" shows nothing there, command "svn ls" shows all the directories under http://a_a_a/b_b_b/ROOT. Let's say there is a directory called "docs' and I want it and all the contents within it svn update --depth infinity docs Now there is docs/ inside root/ in my local area. Let's say one month later, I don't need docs/ any more. And I want to remove it from my local area, NOT FROM SVN REPO! On Linux, I can make it work(inside root/.): rm -Rf docs/ svn update . docs/ directory won't be restored, because at root/ level, command "svn info ." shows the depth is empty and subversion understands I don't need docs/ anymore in my local copy. I want to do the same thing on PC cygwin and I can never make it. Please help. Thank you very much. ------=_Part_767_2045240655.1417552112077 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi:

We use svn both on Linux and on PC.=  

On Linux:
$svn --version
svn, version 1.6.11 (r934486)
   compiled Feb 12= 2014, 06:45:35

Copyright (C) 2000-2009 CollabNet.=
Subversion is open source software, see http://subversion.tigris= .org/
This product includes software developed by CollabNet (http= ://www.Collab.Net/).
...

On PC cyg= win:
$ svn --version
svn, version 1.7.7 (r1393599)=
   compiled Oct  8 2012, 20:42:17

<= /div>
Copyright (C) 2012 The Apache Software Foundation.
This= software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source softw= are, see http://subversion.apache.org/

I bel= ieve on PC we are using TortoiseSVN.

Now I found t= hat something I can make it work on Linux, but not on PC cygwin command lin= e: let's say the root of our repository is http://a_a_a/b_b_b/ROOT

svn checkout --depth empty http://a_a_a/b_b_b/ROOT root &n= bsp;         //<--I don't want EVERYTHING under root= . I am a big fan of sparse checkout. I want to cherry-pick what i want to m= y local copy
cd root //now, command "ls" shows nothing there, com= mand "svn ls" shows all the directories under http://a_a_a/b_b_b/ROOT. Let'= s say there is a directory called "docs' and I want it and all the contents= within it
svn update --depth infinity docs

<= div>Now there is docs/ inside root/ in my local area. Let's say one month l= ater, I don't need docs/ any more. And I want to remove it from my local ar= ea, NOT FROM SVN REPO!

On Linux, I can make it wor= k(inside root/.):
rm -Rf docs/
svn update .
<= br>
docs/ directory won't be restored, because at root/ level, co= mmand "svn info ." shows the depth is empty and subversion understands I do= n't need docs/ anymore in my local copy.

I want to= do the same thing on PC cygwin and I can never make it. Please help.
=

Thank you very much.

------=_Part_767_2045240655.1417552112077-- ------=_Part_766_1686599744.1417552112077--