Path: csiph.com!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.maint.python Subject: Re: Git, gbp blues Date: Sun, 25 Aug 2019 22:00:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Aug 25 19:50:18 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wrar.name; s=20160710; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=JBKZ0kh4UYJ7Dqz47M/7DAINqxRb0rrxYoFSxc/OOQs=; b=mlBukvDb7nz/JUzozojem5rbnx Le4KrCfY20rQzW5EW/JKtVFSICrCOdXvZMpkq/vVab1qxmK1GUaEHaac+sgaXnrGyGn1v71EHY7wg jzRmlHOiWQAovZffwL1PgG9dVjG2mVzm5mulFSgn5HoAjoaOk246xrMPGO24kvtsMQns=; MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y+xroYBkGM9OatJL" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailing-List: archive/latest/17180 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20190825195005.GH1643@belkar.wrar.name Approved: robomod@news.nic.it Lines: 66 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Aug 2019 00:50:05 +0500 X-Original-Message-ID: <20190825195005.GH1643@belkar.wrar.name> X-Original-References: Xref: csiph.com linux.debian.maint.python:11667 --Y+xroYBkGM9OatJL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 25, 2019 at 09:40:16PM +0200, Gu=C3=B0j=C3=B3n Gu=C3=B0j=C3=B3n= sson wrote: > Isn't this an error. Shouldn't it be git checkout? > $ gbp checkout debian/master Yes. > But I still find working with patch queues difficult especially with > new upstream where the old patches don't apply correctly. > I tried to do > $ gbp pq import > but it fails because one of the patches doesn't apply. > So I fixed the patches in the old way using > quilt push -f > quilt edit > quilt refresh > And after having fixed all the patches I could do > $gbp pq import > $gbp pq export > and the diff seems ok. > Is this the correct procedure? The correct procedure is documented on that page. """ Rebase the patches: $ gbp pq rebase $ gbp pq export """ If you ran gbp pq import after importing the new tarball and it didn't say "Patch queue branch 'patch-queue/master'. already exists. Try 'rebase' or 'switch' instead." this means you didn't follow the procedure you copied above, which includes running gbp pq import before gbp import-orig. --=20 WBR, wRAR --Y+xroYBkGM9OatJL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAl1i5mwtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 3cIP/1PkSS6Q3LMT11gfaqQGJP83rMY4E7j5mb94o/Gx9pIlUW9LbE5KD++U8PRd Za2XFQ2UXYiP1rXnzgEZIkUZVDS4riJu1mbakP2NudQWKnnMdeAcicP48/CKSp4/ Ai9X4RO40wHDw//0rZRLQy0vmcR//QNhsLFj9G6X4zzWBuABGuu8+HncuTCnK8ms 5aZTqNJhDGsCsHs2Z2a//g0eMgcHJ8BpFA5THh15+5JlBlSW3SsR32PSjun6upr7 DPHCi3R0peKBMUZo0SP3AlHuEaByfAHGn20+xiPXO0X50PCG5sw3kqCuPx5NhcUk 88i14FmLS0RNk9/SSw4rCZwOo5MBxKxaSGR80cUB4VsqMt6QZfa3l2FnWXz8R0oB yTEmkwskl2KiLMv3xuUSqLawus1z1ATozbxtZGuGR5+QDv5HmvUBBKcrMX1Bk4PZ LSdZKpf6ksx361RvUjMKWg9JWqcGKCyWxZ9BWIa6iPPoYKgomv5NVjlbqKfkd/vM XfSLgeYD1orlr55euN0bQV1k0qdqK4746glwMwogjsYiQlLWnZSQeuH7jZoewVQT l1PTbOXCmrdMZc7K2f/2YyRPLMsMjEIy8XjSjtaL8PW9m+sCQeZ6Br3dciuciFhF +3KXQXmdcl30GXy/p6CvvwVlX34VTq6iVOeZ9AaNRK979oKZ =azrQ -----END PGP SIGNATURE----- --Y+xroYBkGM9OatJL--