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: [patch: first impression] (was: log-edit-insert-changelog even when run git/hg from the) Date: Mon, 10 Oct 2022 18:31:37 +0300 Message-ID: <520c15a0-a82b-657f-c47f-8f030521980a@yandex.ru> References: <87fsgyuyh7.fsf@mat.ucm.es> <87fsg9crz3.fsf@mat.ucm.es> <87ill4c18c.fsf@mat.ucm.es> <078c04cf-00ad-4104-5762-6b3b7832485c@yandex.ru> <87czbcaxve.fsf@mat.ucm.es> <87tu4naere.fsf@mat.ucm.es> <9bea31a0-c16e-aeed-cf22-a27760c229e2@yandex.ru> <871qrq9240.fsf@mat.ucm.es> <396309ef-2040-ec3c-af19-3fc6a0d587a0@yandex.ru> <87k05cw3ps.fsf@mat.ucm.es> <32439d3e-e40b-c2c2-5f5a-34785a1a5790@yandex.ru> <87v8os9o8q.fsf@mat.ucm.es> <877d177mri.fsf_-_@mat.ucm.es> 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="2036"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 10 17:41:55 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 1ohuuh-0000NC-BC for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 17:41:55 +0200 Original-Received: from localhost ([::1]:49048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohuug-0000qU-68 for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 11:41:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohul3-0007GV-RH for emacs-devel@gnu.org; Mon, 10 Oct 2022 11:31:58 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:33436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohuky-0007fF-Ig for emacs-devel@gnu.org; Mon, 10 Oct 2022 11:31:55 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id a3so17638534wrt.0 for ; Mon, 10 Oct 2022 08:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=XIMTeH0OEkkPRFBiZxe5Il4L4u22AqYq9tnmT2ZUqEY=; b=ITG3X+xjBkznaTNXBcCcjkSnLLQsd4MzcvQxwrKcWr8sfaNfnz2P6sVAx7isjL+zKD bOhRKPLA1VSNIRUEtYR8B8by26+r+iK8/SLsqT8ISgZZQXjylRaO+wkTxTKfEhbeXj56 hZxSMoKLAqJfhEKf+sDfIKr/83CMPgTuJrrd354EO4g/WUsgEvwMtFcoZ/1kNtOw9ZWq h1TT1x9ZwBIL/qIqEMdZFUyhj5lxTCjdupTwGVbNB0IyNmuTQvS8rESGwD6bMBiHfU9R l7iBAFg8JuVvkNEu2WiMdCPUBY2zRQ4FIU7ziXlN4DeCenmevoDbeT1HNHtrpKhLP4mc fkKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XIMTeH0OEkkPRFBiZxe5Il4L4u22AqYq9tnmT2ZUqEY=; b=qjdk+nhOM6mq671/LATgXVpfHIgW/5/6y1P2IOzczvLnsswcEGDHLD/p7LSxitQhHj GtV8sKYgydtlRuzBdjNBhILby3yNYNvQ/g+JO80l45VZ6aMErZwbtn2Z5Q36C0qd7obm StVhqtGydGIZl5FYz83jeJo0LKyqdx4dumYpDjFR79afHffDzdr06LSz2idawnjZmlts s765KKFQt7RerkhgVl+WdUYCVZSihytsDbutwrJx+8RU134tsmAPjvsR2fPA9O10Afes XnOiM9oI8OcsggrHno0zC+IRf1GXmMQFIRNK76NecQ1QP1NSYwPBYkd2lX6OahjWvrkz 1dCw== X-Gm-Message-State: ACrzQf0pVEn1m3NQf53Vnff3bU2AWwS9t4XhQqyewznEdscV2ucpdeJN f+oHfHDbpNWbLxQaq7ltN2c= X-Google-Smtp-Source: AMsMyM7Y9aZHQtvfeTibk9Y7gw+4cWdUdFpBox0zBjNdR6aizkMyTQx5HrOaYArWHSlO2F+zqwkWOA== X-Received: by 2002:a05:6000:15c6:b0:22e:5c0c:13d6 with SMTP id y6-20020a05600015c600b0022e5c0c13d6mr11672843wry.485.1665415898886; Mon, 10 Oct 2022 08:31:38 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id b2-20020adff902000000b0022e66749437sm9048762wrr.93.2022.10.10.08.31.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 08:31:38 -0700 (PDT) Content-Language: en-US In-Reply-To: <877d177mri.fsf_-_@mat.ucm.es> Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=raaahh@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.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.25, NICE_REPLY_A=-2.007, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:297373 Archived-At: On 10.10.2022 17:53, Uwe Brauer wrote: >> On 10.10.2022 09:39, Uwe Brauer wrote: >> Just 'git apply' on top of the latest master. > I have to wait till the BUG I reported is resolved, since otherwise working with Emacs is an ordeal. However I have given it a try and it seems, that in mercurial speech, > there is a > > hg up tip > > Missing, the @ is not on tip (I think called HEAD in git), but on the changeset (commit) just before. > > I have to debug this in order to see what is going on. > > The behavior is a bit annoying especially if you continue working and want to commit again, in which case you might create a new head (in mercurial speech), if you are not carefully checking the graph before. > > But if you do, your solution is somehow working. OK. What if our solution also automatically calls `hg up tip` at the end? Should that always work, or would it mess up situations where the user actually wanted to be in that state (head not at tip), and was in that originally? E.g. if they wanted to "create a new head" using the new method to commit a patch?