Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D72FA200C62 for ; Wed, 26 Apr 2017 19:57:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D59BD160BA8; Wed, 26 Apr 2017 17:57:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 289D3160B8F for ; Wed, 26 Apr 2017 19:57:30 +0200 (CEST) Received: (qmail 93976 invoked by uid 500); 26 Apr 2017 17:57:28 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 93964 invoked by uid 99); 26 Apr 2017 17:57:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2017 17:57:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9A1791B0BD0 for ; Wed, 26 Apr 2017 17:57:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.82 X-Spam-Level: X-Spam-Status: No, score=-0.82 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=daniel.shahaf.name header.b=afjnY2sr; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=SVuN1yD2 Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id iuGtHZjDUAKB for ; Wed, 26 Apr 2017 17:57:25 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3F3695F342 for ; Wed, 26 Apr 2017 17:57:25 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9713420B58; Wed, 26 Apr 2017 13:57:19 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 26 Apr 2017 13:57:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=oAAU5/vkk4do/I94eG k0RzzLA4CO4oeJYDQCZ4AS0Cw=; b=afjnY2srNqRclNnVI25W4en3juREYM6DjT 1oBhzsroI/LesupkHSHIUMINT8dl9e0hG4ETl3viKhAbkVytJe3/ctgI3T5TttR3 Kr0VOOwaQNRxCkZpNH+v+E3bTPVyc8ieTOtvC9fQe9qLlWYBbxIAehyAT/c9/Nqk yt7Xke/lv1zi59FwxMDT7VstvwsZHW/fMQ5vUYdPdpJUwk/6DiO4MukdgzKX7cGl cATvpKTO76EPM2YzV7QqBuuDv2RMwT7/L9zKy78ku1emaGgE91nuBi6CjSWCAI/V NlXD2rQZQNv6YIB1A7LhVA8AmAMEIEKsSWEBDTMxZaxzdYqdIaEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=oAAU5/vkk4do/I94eG k0RzzLA4CO4oeJYDQCZ4AS0Cw=; b=SVuN1yD2zExD3MWBSVIXW7Qh9h7NTBVAqo R24Thff3uPL9/AvxHSEKDunZG0TEK+OMSbweg/OJNmi5ykKfixCpTZwMmZjWqk3b 4T6pPyb9LSvHLgyXSYLmLtJPXRlEs9ZcNokZZr/tjpHuLvCCPj1J2aO5K9MZwxmu 9ItO3HADnqhAnjnsgF9lkVAEQ5JMYug2E/TueD96rUxMq5kDQaTSzh/ikckni2wr iwBiPF9EmN56JinThF7wHCE0Ho+tpNRgaifG7JRIdEHTcvSkHnShM8wGl9S8P9Aa Klq7eADC5t/xbGff/IPMQ01iOMUoE5il2qAp+MIaCO/LnOkC0gXw== X-ME-Sender: X-Sasl-enc: BxgSPLFDWzj6QyLp0zB+Fbz94BSjaMYSlk3etD2GoVKv 1493229439 Received: from fujitsu.shahaf.local2 (bzq-109-65-99-164.red.bezeqint.net [109.65.99.164]) by mail.messagingengine.com (Postfix) with ESMTPA id 3576B24216 for ; Wed, 26 Apr 2017 13:57:19 -0400 (EDT) Received: by fujitsu.shahaf.local2 (Postfix, from userid 1000) id 3wCnpk3Ymrz1GG; Wed, 26 Apr 2017 17:57:18 +0000 (UTC) Date: Wed, 26 Apr 2017 17:57:18 +0000 From: Daniel Shahaf To: dev@subversion.apache.org Subject: Re: 'svnadmin load-revprops' as first-level command? Message-ID: <20170426175718.GA32483@fujitsu.shahaf.local2> References: <20170425193618.GA18666@fujitsu.shahaf.local2> <727D8E16AE957149B447FE368139F2B5A8F5FB77@SERVER10> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) archived-at: Wed, 26 Apr 2017 17:57:31 -0000 Bert Huijben wrote on Wed, Apr 26, 2017 at 13:03:46 +0000: > Perhaps the revprop load operation was designed to support some kind > of 'refresh' of the revprops after an earlier dump/sync. In that case > it might make sense to have a specific operation, as that would really > change the operation to something completely else. Ah, yes, that's exactly how it works: 'load-revprops' changes already-committed revisions, whereas 'load' would commit new ones. I agree that this difference warrants a separate subcommand for 'load-revprops'. Is the help text clear? {"load-revprops", subcommand_load_revprops, {0}, N_ ("usage: svnadmin load-revprops REPOS_PATH\n\n" "Read a 'dumpfile'-formatted stream from stdin, setting the revision\n" "properties in the repository's filesystem. Revisions not found in the\n" "repository will cause an error. Progress feedback is sent to stdout.\n" "If --revision is specified, limit the loaded revisions to only those\n" "in the dump stream whose revision numbers match the specified range.\n"), Markus Schaber : > I guess that, especially for the "dump" case, "dump-revprops" is (or should be) > much more efficient than a "dump" piped through "svndumpfilter". For "load", > the additional overhead will be smaller, but still there. So I think this > functionality should be implemented in svnadmin itself. Agreed about efficiency of dump-revprops: as an svnadmin command, it won't need to combine and generate deltas. The remaining question is whether 'dump-revprops' should remain a top-level command or become an option under the 'dump' command. I can't say I feel strongly about this... Cheers, Daniel