From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Tue, 04 Oct 2022 19:19:45 +0000 Message-ID: <8735c3tmzy.fsf@posteo.net> References: <84v8qgn1z9.fsf@iki.fi> <87h71zo3p8.fsf@posteo.net> <87sfljmgwz.fsf@posteo.net> <87y1twvima.fsf@posteo.net> <878rlw681a.fsf@gnus.org> <83zgecww2k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 57400@debbugs.gnu.org, ane@iki.fi To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 21:20:57 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ofnTN-000888-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 21:20:57 +0200 Original-Received: from localhost ([::1]:34374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofnTC-0007MK-Gv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 15:20:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofnSW-0007HC-7s for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 15:20:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofnSU-0007BO-S5 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 15:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofnSU-0001FE-CM for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 15:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 19:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57400 X-GNU-PR-Package: emacs Original-Received: via spool by 57400-submit@debbugs.gnu.org id=B57400.16649111984771 (code B ref 57400); Tue, 04 Oct 2022 19:20:02 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 4 Oct 2022 19:19:58 +0000 Original-Received: from localhost ([127.0.0.1]:55236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofnSP-0001Es-N4 for submit@debbugs.gnu.org; Tue, 04 Oct 2022 15:19:58 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:44629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofnSL-0001Ed-AK for 57400@debbugs.gnu.org; Tue, 04 Oct 2022 15:19:56 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 980BA240027 for <57400@debbugs.gnu.org>; Tue, 4 Oct 2022 21:19:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1664911187; bh=XAPJeVAiwGPU10jFGCnncr86V3HzPavCC6SkaiK8HZc=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=jLm1QmIcnUlPTQCL64VzuwUBVA8F2iqrMPAdU+yk+8l27zaJ8HZFbj4RakXjvCXq3 nD5fSv8eJPPe3QuUw6cH6MUHwttfS8LjmJlF0iWpKooKITyKf7h0Jq/LSSZctSxFwu LJq78+o68nue4UyyHwN98sMRPFgfl2E+d8ZNEPS6QfhHBY3WmHFCQSFWrz0DJFRe1u N2bPPDU0mWjYUbPAsmqpMw7xZ2y0oD5p7L1jTT4i8z3IfhZ4wV9gsQu71xZMCJe9iv IigbsC/R83YDeyJwBx9U6ycrI/nXe2ZIGiL2gWQCtvEbLCywGrp9j8VPDt+se/sKZm 0sP+R8urc7JEQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MhnZp1cY8z6tmQ; Tue, 4 Oct 2022 21:19:46 +0200 (CEST) In-Reply-To: <83zgecww2k.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 03 Oct 2022 22:23:15 +0300") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244471 Archived-At: Eli Zaretskii writes: >> Cc: 57400@debbugs.gnu.org, Antoine Kalmbach >> From: Lars Ingebrigtsen >> Date: Mon, 03 Oct 2022 21:06:57 +0200 >> >> Do many other VCs have commands to prepare patches like this? > > Hg and bzr do have such commands. ^ As I mentioned before, I have never used Bazaar before so I downloaded a repository to test out how patches are created and the output I get when picking out some revision is as follows: --8<---------------cut here---------------start------------->8--- rhea$ brz send --revision 6438 -o - Using saved parent location "http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/" to determine what changes to submit. Bundling 0 revisions. # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: pqm@pqm.ubuntu.com-20120116142737-incpbjom3tqo3hdb # target_branch: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/ # testament_sha1: 0363416e18dfbea56a231638540b5f10be10c81c # timestamp: 2022-10-04 21:13:18 +0200 # base_revision_id: pqm@pqm.ubuntu.com-20120116142737-incpbjom3tqo3hdb # # Begin patch # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWdjgvvgAABJfgAAQQGFxUBIAAACv794QIABkRTaajamQyGjTaRiFGgBMBBkwQhDmaVnH5r9hMFQyJ7EUzThiw4Ixc/mQVpexbPS29yLLTxaFbWvXcN2zcydOQxpD652acQC4g4Z96jI5BipgKAAiM5Zz45Kd/4u5IpwoSGxwX3wA --8<---------------cut here---------------end--------------->8--- Which doesn't look like a patch to me. My understanding from[0] is that this is a "merge directive" indicating what change has to be made. But according to [1] a merge directive > [...] provides many things needed for requesting merges: > - A machine-readable description of the merge to perform > - An optional patch that is a preview of the changes requested > - An optional bundle of revision data, so that the changes can be applied directly from the merge directive, without retrieving data from a branch. so it might just be that my command is wrong? [0] http://doc.bazaar.canonical.com/latest/en/user-guide/sending_changes.html#creating-a-merge-directive [1] http://doc.bazaar.canonical.com/latest/en/user-reference/send-help.html