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 E5CE3200CFE for ; Fri, 25 Aug 2017 00:45:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E42DF16BD1F; Thu, 24 Aug 2017 22:45: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 3799616BD1D for ; Fri, 25 Aug 2017 00:45:30 +0200 (CEST) Received: (qmail 181 invoked by uid 500); 24 Aug 2017 22:45: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 171 invoked by uid 99); 24 Aug 2017 22:45:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2017 22:45:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 11794C0032 for ; Thu, 24 Aug 2017 22:45:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=daniel.shahaf.name header.b=cLWTOJE0; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=WFjsu0aL Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id wd23DKQrMPUf for ; Thu, 24 Aug 2017 22:45:24 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E43E660E39 for ; Thu, 24 Aug 2017 22:45:18 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AFE6F20CDF for ; Thu, 24 Aug 2017 18:45:18 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Thu, 24 Aug 2017 18:45:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Gj4epQ f/Toy7Zn1FKJKGE++dvLfIT2jzn0vUX7XDJTA=; b=cLWTOJE0+5/Pl3Q3taUxrJ YaCtZhhcgm64O4NZWX0vJY2S7tDLFli1Dck4fT9TkHU5esJm0sHvdSubBoTowpgL nWLPc0S+JVzP3QcxknQDRHrxnynZbJO9R5cboRuZH2d6Gdl8qzefNNtlLQAmDR4q 8vVXjNjeV8rzloqW5BxlP0CYZEW+p1iMk3uF072GEAy8U8vP6VEtbIbGZG6ypv3n 6vkSiZos+9HBo1bhqbJzUe5hmXQsymHTYUOpaRS7zTkA6knz/JIai23f4iCuBiSS Qh5p3THkhY/xo5hMIizR+YCB++ThN1D9lWdM00JCmVWjg23gfh/szzNNHjWbI3/g == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Gj4epQ f/Toy7Zn1FKJKGE++dvLfIT2jzn0vUX7XDJTA=; b=WFjsu0aLi+ea9rvBoH07Pv OKzNzrIFO9Da+KTQHGkcmCeve2GktaH2L10lchZSoYWcR+c21xQahhn+F0gpdNdP +dZ5Oei/myxkqt/ihDlEcqeET1aGZYiyeQCZnCX/eCy1Td+oEkhDYRFc3RQ/C3OE qaKdMANUHXir1JMjmaLaKMf/VRF+hLAnt+VASImM74zP33rbyW1I06GFuj37FEN2 X9KYmuwEyT0t7BVOVzTi+rWFD+yED50Oh8VapynuvJ/x3Bz3KEp3rNOtA+m9ilV/ +d6XvmRSwdcEFjT2whnfljZ4Kkq6XTpoOmRSMpg/wRLbClz5QhhwM6TXp8LOQbLA == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 89B1D9E1FC; Thu, 24 Aug 2017 18:45:18 -0400 (EDT) Message-Id: <1503614718.3288555.1084240544.2F686206@webmail.messagingengine.com> From: Daniel Shahaf To: dev@subversion.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-13b5a8c9 Subject: Re: Shelving and Checkpointing support log messages References: <32447605-57cb-a9ab-8a0b-2a7797519f02@apache.org> In-Reply-To: <32447605-57cb-a9ab-8a0b-2a7797519f02@apache.org> Date: Thu, 24 Aug 2017 22:45:18 +0000 archived-at: Thu, 24 Aug 2017 22:45:31 -0000 Julian Foad wrote on Thu, 24 Aug 2017 19:46 +0100: > I think we will encounter two distinct styles of usage: > > * "just put whatever I have aside, I haven't time to think about it > now, I'll come back to it later" -- no description or just a very brief > hint, and perhaps not even a name; > > * "this is a patch I have prepared" with a carefully written log message. > Agreed. > One rough edge is that "unshelving" a patch or finishing/squashing a > checkpoint series simply discards the log message(s). I welcome your > thoughts. I doubt anyone would store a verbose long message on a shelved patch if applying the patch would discard the log message. People would grow the habit of storing the log message out of band. Conversely, to enable the "long log message" use-case, there should be an easy "upgrade path" for the shelf's log message to become a commit log message; optionally with editing first. Example workflow: 1. There exists a shelf with a verbose log message 2. Unshelve that patch 3. 'make check' 4. 'svn commit' In this workflow, it would be nice for $EDITOR to be pre-filled with the shelf's log message. The catch is, what happens if the patch is reverted (with 'svn revert' or with an equivalent '/usr/bin/patch -R') before step 4. In that case, the user wouldn't want the shelf's message to be presupplied. The problem is that between #2 and #4 we have hidden state: step #4 doesn't know whether it's committing the patch that had been unshelved, or something else --- and if we have to guess, we'll sometimes guess wrongly. (That's all I have for now...) Cheers, Daniel