From users-return-27206-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Fri Jun 8 10:20:37 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3982A180608 for ; Fri, 8 Jun 2018 10:20:37 +0200 (CEST) Received: (qmail 22941 invoked by uid 500); 8 Jun 2018 08:20:36 -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 22931 invoked by uid 99); 8 Jun 2018 08:20:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2018 08:20:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E5CDBC67B2 for ; Fri, 8 Jun 2018 08:20:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.131 X-Spam-Level: X-Spam-Status: No, score=-0.131 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xZc4uxdJcrzy for ; Fri, 8 Jun 2018 08:20:32 +0000 (UTC) Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 472845F3B7 for ; Fri, 8 Jun 2018 08:20:32 +0000 (UTC) Received: by mail-it0-f42.google.com with SMTP id y127-v6so4443315itd.1 for ; Fri, 08 Jun 2018 01:20:32 -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; bh=sKsvjY6vDck7Qb/KHKX8G9rdcquGvnKojoHwafUpoSA=; b=EhTi23lT1AvpTgocM0c9IAxMaSD4dz9GFLguapSgnuUZlSp8lEYrTm1VIFd8oGLOXd F/Nz4P3VNPVuwfQlLRkOhstMBD0mXaIyXozqBoVT4JerKOu2wJKUeEBBscgfBo4n5ou/ oJXtMYR7xbcLlZgitnsTN9Ad3kDlnsTJc0jn29443jxVVDJiUmW1wH7JKE5jdaSVjlOH d8V3zKRO5NOt2nAq6y2kFRbm7KDqmdO2i6sIABXQSb6jJMUd8Z0cEFCw7tZHZ00TJRkZ wYbyxHyJ42e/ukiUSHiRhnVPwl53/NpKHLgpbRbTIV/C05PEiArrZEPE3Yp1n63YSUnx M/8w== 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; bh=sKsvjY6vDck7Qb/KHKX8G9rdcquGvnKojoHwafUpoSA=; b=BGRaA9jeNa0qGP3hy/JpMkS4umLp2BIYCekrEjK9N31FPt8m5ZJicXZUY4+MwualLN HdNNxDomh5qUYn8ybM3prjDvivKBxAzzCJvu7bQubgK6AnBrdEIzOxvTzNsmjqThD+rk lgPjJIk54dH9iGXpcU2pUllojXHqFrk906DfS9ZFQRZ5zRksfkIsXx0p7HQUIaaBBSkc qL7TDl0eI0jSuF5Y8pNHFk/SHn/AItX0XfGLQrMrQ2erET/c5I2+UFvQxS9HzaYF9JAT 04Q7Ymb1wjwPbGpZD/cyAMVhKW95NEBI1tHEtoaVQaiCN8i5W+O7Oe3gIMgynOkJcfBn FnMg== X-Gm-Message-State: APt69E2yM4Hq90z+67Rjas/TcbPDPUUR1Ena+AaVU19Fk7OitjM9nwIL g3uPCaIumrW7GrTS3Q9umNjOEYfaE/AEQu4eh1A= X-Google-Smtp-Source: ADUXVKIZUBSGuWv8aM848Vu2niz8UJ6/ZfLWiQufgyFKScmCxrLIWbWxZUdz4jbmSC1enyBHjdIKRsaIXBZ1HC4TY68= X-Received: by 2002:a24:4563:: with SMTP id y96-v6mr849865ita.112.1528446031630; Fri, 08 Jun 2018 01:20:31 -0700 (PDT) MIME-Version: 1.0 References: <4E8FC09C-25C1-4F0E-89AE-F7672232B1D4@von-campe.com> <20180607070429.GA14061@byrne.stsp.name> <20180607071155.GB14061@byrne.stsp.name> <20180607150844.GC51338@byrne.stsp.name> In-Reply-To: <20180607150844.GC51338@byrne.stsp.name> From: Doros Agathangelou Date: Fri, 8 Jun 2018 11:20:18 +0300 Message-ID: Subject: Re: Problem with svndumpfilter To: users@subversion.apache.org Content-Type: text/plain; charset="UTF-8" Another option is to use Subdivision, a commercial tool that is designed to do exactly these kinds of operations, in other works Delete files, Extract files, Split repositories in two parts. Subdivision reads the repository structure in memory and 'understands' the structure of your repository. It can therefore create the necessary derived selections from your selections to make sure that the delete operation succeeds in the first pass. In this example, Subdivision would make sure that /branches/develop/dir2 would be available for the copy to be made from it (or that both source and copy would both be unavailable - depending on the user selections). Subdivision is a Windows application but we are working on a Linux solution too. You can try a demo by visiting http://subdi.vision Goes without saying that we are affiliated with Subdivision and we are sorry for the shameless advertising but we believe people in this group will benefit from knowing that Subdivision exists. On Thu, Jun 7, 2018 at 6:08 PM Stefan Sperling wrote: > > On Thu, Jun 07, 2018 at 10:40:51AM -0400, Alfred von Campe wrote: > > Thanks, Stefan. The path of least resistance for me is to use the script you pointed me to. However, it seems that the exclude feature is not yet implemented: > > > > try: > > if args[0] == 'include': > > sys.exit(analyze_logs(map(sanitize_path, targets))) > > elif args[0] == 'exclude': > > usage_and_exit("Feature not implemented") > > else: > > usage_and_exit("Valid subcommands are 'include' and 'exclude'") > > > > Is there a more recent version of this script? > > I am afraid not. The link I provided points to the latest version of > this script we have in our repository. We would welcome patches to > the script. However, since the problem has been fixed in SVN 1.10's > version of 'svnadmin' I think it makes more sense to just use 1.10. > > You could install 1.10 binaries somewhere next to your existing SVN > installation and use the 1.10 svnadmin binary to create a dump file. > The resulting dump file will be compatible with older versions.