From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: vc-modify-change-comment for "modern" backend fix Date: Thu, 19 May 2022 13:24:14 +0300 Message-ID: <216c8f86-e672-ae48-c43d-37692bc94ec5@yandex.ru> References: <9f1b5ce9-270a-2cb4-d958-f7545fd7d373@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 19 12:27:33 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrdNU-0008mj-Fz for ged-emacs-devel@m.gmane-mx.org; Thu, 19 May 2022 12:27:32 +0200 Original-Received: from localhost ([::1]:48454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrdNT-0000cG-1o for ged-emacs-devel@m.gmane-mx.org; Thu, 19 May 2022 06:27:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrdKP-0007RE-K6 for emacs-devel@gnu.org; Thu, 19 May 2022 06:24:21 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:43897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrdKN-00076F-Qc; Thu, 19 May 2022 06:24:21 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id l38-20020a05600c1d2600b00395b809dfbaso2456412wms.2; Thu, 19 May 2022 03:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IC6MQ6fcfIznchguA3QAuLMCEHXctmnmovu0G2b+Tws=; b=U8411w05B4ANF+Wm+oOSCIMQRZ3V6Vm22aL1aLFfBwbByAAYXLq5pVPI3L/gZSuFi2 KjUcztV/RXuzwdJ4Jf5La318NoDoVRek5OCrK1CHQCDQN2e8NWi3YquUJCgr5IAnYTxh 8zOW8JqWGONY6Ww1ezYPXICzuB8/HhyjR/As9P6teqduqXACJIjM0V4r89euBQvOW/Dr V3kQM7kIlGpXMuumX7hcq8Nx9UwDxi4/cXNGEJalT3HFzb/rD+JmAbJiiTe5VbE9U255 WPx47qt/axApAAbeu5Vf226ZFhmQhV2gVXRVY/T18MjQ9o3YI/qO679YlmF7b+6o9IjC Ozrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IC6MQ6fcfIznchguA3QAuLMCEHXctmnmovu0G2b+Tws=; b=O/4dlCc1A7yBoqu4MsVYaFAaf0ceE5zQ3MizEhe1O35yasfTGt5R7hEF5KzlfGejeY TPBe6KRP0Z7Ny9TFAcF/WE9MBnnB6UQ8seayJZvACWzhCkZ/ZTjZY2eB+LMc51iELsrz Ef++la3RvegoceWg6+XxIaKQU7u3Ffb+MGm+sCkNHsR6JT4Heb/wlvQIIvl4J06Z9xd9 SVRLuCvozItn5X3zvEiW1kWFdQ2ST8GGGRVW5eQtzzwdfAPfAypbbIAWLjvUTr0kk/4l /GadH4vQFrM5ev54WDVFKftqnvMkhDEzL6sTJoSwYduh0DPW1+xnZNo6l/QgPkpE0Vtg R6Sw== X-Gm-Message-State: AOAM531m9zpi+I66XdrbudWUr5CJy5pZQrP+ur3QYngWM4Iy0Oh6BKky CtW//A1EY9/A2pZqdSWC1eN7A0q+1YU= X-Google-Smtp-Source: ABdhPJwSrR2nKX+oG0jJVNXlYuf5eNmBOu1D6v+oX6OMd4F/V2bVheJgfi3ImH28FBHfnfoA9tmUIg== X-Received: by 2002:a7b:cd8a:0:b0:394:1a76:44da with SMTP id y10-20020a7bcd8a000000b003941a7644damr3625548wmj.39.1652955856442; Thu, 19 May 2022 03:24:16 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id u8-20020a5d6da8000000b0020c5253d8e5sm4726604wrs.49.2022.05.19.03.24.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 May 2022 03:24:15 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=raaahh@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289958 Archived-At: On 19.05.2022 12:58, Alfred M. Szmidt wrote: > Okay, but how will this work in fossil? Similar to editing a single > commit during a rebase? > > Fossil has no concept of rebase. Amending makes a new commit, and the > last commit message is shown when viewing the timeline/log. > > ~/tt $ fossil timeline -R foo.fossil > === 2022-05-17 === > 09:42:27 [3b410767c6] Edit [73bf888ab97bd2c3|73bf888ab9]: Edit check-in comment. (user: ams) > 07:50:06 [30aa7e8b06] Edit [73bf888ab97bd2c3|73bf888ab9]: Edit check-in comment. (user: ams) > 07:33:59 [1c13590b96] Edit [73bf888ab97bd2c3|73bf888ab9]: Edit check-in comment. (user: ams) > 07:30:34 [73bf888ab9] zork zork zborkrkrk (user: ams tags: trunk) > 07:30:02 [40289e9363] initial empty check-in (user: ams tags: trunk) > +++ no more data (5) +++ > ~/tt $ fossil amend -m "this is a new message" 40289e9363 -R foo.fossil > hash: 40289e9363e0e3e1fe5e2df9c9827fe65e51f547 2022-05-17 07:30:02 UTC > tags: trunk > comment: this is a new message (user: ams) > ~/tt $ fossil timeline -R foo.fossil > === 2022-05-19 === > 09:56:34 [5a950dc2f6] Edit [40289e9363e0e3e1|40289e9363]: Edit check-in comment. (user: ams) > === 2022-05-17 === > 09:42:27 [3b410767c6] Edit [73bf888ab97bd2c3|73bf888ab9]: Edit check-in comment. (user: ams) > 07:50:06 [30aa7e8b06] Edit [73bf888ab97bd2c3|73bf888ab9]: Edit check-in comment. (user: ams) > 07:33:59 [1c13590b96] Edit [73bf888ab97bd2c3|73bf888ab9]: Edit check-in comment. (user: ams) > 07:30:34 [73bf888ab9] zork zork zborkrkrk (user: ams tags: trunk) > 07:30:02 [40289e9363] this is a new message (user: ams tags: trunk) So it's like the commit log is part of the content tree, edited by the last commit. Cool.