From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Tue, 04 Oct 2022 22:33:09 +0300 Message-ID: <8335c3v0y2.fsf@gnu.org> 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> <8735c3tmzy.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 57400@debbugs.gnu.org, ane@iki.fi To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 21:34:25 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 1ofngP-00048t-Ez for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 21:34:25 +0200 Original-Received: from localhost ([::1]:45252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofngO-0001QQ-4i for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 15:34:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofng3-0001Pe-Gh for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 15:34:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofng3-0005bk-1f for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 15:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofng2-0001bJ-Gm for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 19:34: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.16649120046105 (code B ref 57400); Tue, 04 Oct 2022 19:34:02 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 4 Oct 2022 19:33:24 +0000 Original-Received: from localhost ([127.0.0.1]:55246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofnfQ-0001aN-BB for submit@debbugs.gnu.org; Tue, 04 Oct 2022 15:33:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofnfN-0001a8-20 for 57400@debbugs.gnu.org; Tue, 04 Oct 2022 15:33:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofnfF-0005Xj-Nr; Tue, 04 Oct 2022 15:33:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GC08Rn61+bBNuUTX7pAZgQ7Asn93Qu3gMdxljXefnzE=; b=K/ylciDkk7jB JtdgxUd7yJI1yakf5BR2xhrfhcAQhAq0ZNoynrN0c/RtVIvOVu/OVRPRIyTsuGt5vHJrSM3ZfMEw8 NF20+T0ffLg6Ts6FMjvtVdeXkze1IhCrJkIxlUWx/DiN/dgyLIWYXEmCL2Fz/LkGrvPLf/F7s59EJ ButWQh4cD0AK5EqjORv8D2wGDaG1wMdZaGEveqX1wuPFXU7NGb7LUAwNWyDtjfjIKM/SkFKwTgOTf LTGGjH2MzTyGoAQc0Hq5ASEl1YFSLdBJEqDNdLC3ieZwPk3MIdi54DKTkBoyz9pHnOayKk5taFmNx fFZ0iR/PFfDqGnT+XHVveg==; Original-Received: from [87.69.77.57] (port=3912 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofnfE-0007ew-Qe; Tue, 04 Oct 2022 15:33:13 -0400 In-Reply-To: <8735c3tmzy.fsf@posteo.net> (message from Philip Kaludercic on Tue, 04 Oct 2022 19:19:45 +0000) 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:244473 Archived-At: > From: Philip Kaludercic > Cc: Lars Ingebrigtsen , 57400@debbugs.gnu.org, ane@iki.fi > Date: Tue, 04 Oct 2022 19:19:45 +0000 > > Eli Zaretskii writes: > > > 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? Yes, try this instead: brz send --revision 6437..6438 -o - (Repeat after me: Bazaar is not Git, Bazaar is not Git, Bazaar is...)