From owner-freebsd-questions@freebsd.org Wed May 6 04:45:05 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63BB72DED7F for ; Wed, 6 May 2020 04:45:05 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49H3t90GXfz3yhg for ; Wed, 6 May 2020 04:45:05 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 0737F2DED7B; Wed, 6 May 2020 04:45:05 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05BEB2DED7A for ; Wed, 6 May 2020 04:45:05 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49H3t76gyPz3yhf for ; Wed, 6 May 2020 04:45:03 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-il1-x136.google.com with SMTP id f82so515214ilh.8 for ; Tue, 05 May 2020 21:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fLbSE8l3RakwX08LIUSeiukK/BK/6Iz278XoUOIMlzk=; b=mCQR/i5tECKmw8MllmOMxU+/FBc9m2eleyjzf9SjdbVECDldUfou+qLJ6AmWHxyqRV tHXkiOs9+0/xQmfJThvCVnD3z2xQwnjDAxNXL85JAKd2nKe0hrNsMoXweUkdZZbfLdyU RKWNveKHrt2fE2rXCd3EK0nTj9E5pXCpPQC6TUdYVgcpssmk2SsPQy3mCUgLIQTjdzyR IySWMvMyzfP7drooxU3NTLm8tA43mPbtKnC/eHum0/Cws87duPHX8yL5HR3dExgQGzKn SRO0LkKkYniwXau7iR6OKzX7GD796YfVXTqWNYBZv6MLvfGuo7VonC8ciXQ9H4RoCSmI 3OIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fLbSE8l3RakwX08LIUSeiukK/BK/6Iz278XoUOIMlzk=; b=GYkFD9crA12Xaifbz/wn8KimgdDWSTj8z9BDTMgpHLmZUgmM3xqBYU7fz0RyXqDQxO xZRDumNiwjpsXo2Bed8jEvkNoXakIXh+xmVJX0mGxQ8tFWAtQgKa0sMXP3lN89eHxwgH QCtTXZ6pbTf0ySHf/R3vG981eiBGTkgnIIWmBQtcZYAuaNygY+pB7P1L0LGuhId6sSEz AZwrKwCYQ4Ez8iIPvm8nFdc/daHuhIywbpQyjPKsmIlArMoDpiYMZnuxSmfkjRJajfNj jpOi9EzhZQDRHoe8K+9wO+kCKfsbms2a8FP/xLJ0Z/s19e6UWl17wL4SX6Nx/yROkpPO 4JJg== X-Gm-Message-State: AGi0PuahmFaG/DjKiCR2zQ2uNU14q+CPqGh7vbBELAmR+bcw3cIvUuEF 1wLyDShtwTsMdmc11tD7h9wDDoHgOtivixB2/eE= X-Google-Smtp-Source: APiQypKlYFeOEKhh8uwF+A3NCrMXaWt+dIMtEGYR2qrnwshXiFWhri5BvyOEtcE7o5vr6iNbbMGn5f46AzIMu58pMC8= X-Received: by 2002:a05:6e02:510:: with SMTP id d16mr7143294ils.3.1588740302573; Tue, 05 May 2020 21:45:02 -0700 (PDT) MIME-Version: 1.0 References: <24241.62739.445872.301644@jerusalem.litteratus.org> <24242.477.924364.935928@jerusalem.litteratus.org> In-Reply-To: <24242.477.924364.935928@jerusalem.litteratus.org> From: Michael Schuster Date: Wed, 6 May 2020 06:44:51 +0200 Message-ID: Subject: Re: using subversion To: Robert Huff Cc: questions X-Rspamd-Queue-Id: 49H3t76gyPz3yhf X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mCQR/i5t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::136 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-8.53), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 04:45:05 -0000 Hi Robert, svn doesn't care why you want to revert (in my experience, anyway). For completeness' sake, let me add that you should not do "svn rm", just "svn revert - - depth=infinity FOO/BAR" should do the trick. HTH Michael On Wed, May 6, 2020, 02:16 Robert Huff wrote: > > Michael Schuster writes: > > > > Scenario: > > > I have a directory, FOO, which is the root for an svn > tree. > > > Under FOO is (directory) BAR. > > > I want to delete - as in completely remove from both > disk and the > > > svn records - BAR (and subordinate content). > > > Then I want to get a pristine copy of BAR (and > subordinate > > > content) from the repository. > > > Is this the correct process: > > > > > > root> cd FOO > > > root> svn rm BAR > > > root> svn co BAR > > > > > > ? (And if not: what is?) > > > > > I think "svn revert" is what you are looking for... > > Additional information: > There have been no deliberate changes in BAR; the contents of > the (sub-)tree seem to have been corrupted and I want to wipe things > out and start over from the same point as FOO. > Does that change the answer? > > > Respectfully, > > > Robert Huff > >