Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9614

Re: git-dpm: remove a patch

Path csiph.com!goblin3!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Vincent Bernat <bernat@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: git-dpm: remove a patch
Date Wed, 05 Jul 2017 16:50:02 +0200
Message-ID <tZTMS-7yB-13@gated-at.bofh.it> (permalink)
References <tZMs2-2Ms-25@gated-at.bofh.it> <tZQOZ-5Dw-9@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jul 5 14:48:24 2017
Old-Return-Path <bernat@debian.org>
X-Amavis-Spam-Status No, score=-11.88 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
Organization Debian
Mail-Followup-To debian-python@lists.debian.org
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version 1.0
Content-Type multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14992
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87o9szaqjg.fsf@luffy.cx
Approved robomod@news.nic.it
Lines 41
Sender robomod@news.nic.it
X-Original-Date Wed, 05 Jul 2017 16:48:03 +0200
X-Original-Message-ID <87o9szaqjg.fsf@luffy.cx>
X-Original-References <m3h8yrjs09.fsf@luffy.cx> <874lur15tz.fsf@vostro.rath.org>
Xref csiph.com linux.debian.maint.python:9614

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

 ❦  5 juillet 2017 13:27 +0200, Nikolaus Rath <Nikolaus@rath.org> :

>> How to remove a patch with git-dpm?
>
> Look for "Removing existing patches" in git-dpm(1):
>
> $ git-dpm checkout-patched
> $ git  rebase  -i upstream-unstable
> $ git-dpm dch -- -i

That's totally similar to use "git reset --hard HEAD~1" (since I want to
remove the last commit).
-- 
Make sure all variables are initialised before use.
            - The Elements of Programming Style (Kernighan & Plauger)

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

git-dpm: remove a patch Vincent Bernat <bernat@debian.org> - 2017-07-05 09:00 +0200
  Re: git-dpm: remove a patch Scott Kitterman <debian@kitterman.com> - 2017-07-05 13:10 +0200
  Re: git-dpm: remove a patch Brian May <bam@debian.org> - 2017-07-05 13:30 +0200
    Re: git-dpm: remove a patch Vincent Bernat <bernat@debian.org> - 2017-07-05 16:50 +0200
  Re: git-dpm: remove a patch Nikolaus Rath <Nikolaus@rath.org> - 2017-07-05 13:40 +0200
    Re: git-dpm: remove a patch Vincent Bernat <bernat@debian.org> - 2017-07-05 16:50 +0200

csiph-web