1 Return-Path: <dme@dme.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1F6B2429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 9 Jan 2012 03:16:34 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id pXGaAh11G7E4 for <notmuch@notmuchmail.org>;
\r
16 Mon, 9 Jan 2012 03:16:30 -0800 (PST)
\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
\r
18 [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id DDCDB431FB6
\r
21 for <notmuch@notmuchmail.org>; Mon, 9 Jan 2012 03:16:29 -0800 (PST)
\r
22 Received: by wibhq2 with SMTP id hq2so2918422wib.26
\r
23 for <notmuch@notmuchmail.org>; Mon, 09 Jan 2012 03:16:27 -0800 (PST)
\r
24 Received: by 10.180.88.10 with SMTP id bc10mr26893169wib.13.1326107787292;
\r
25 Mon, 09 Jan 2012 03:16:27 -0800 (PST)
\r
26 Received: from hotblack-desiato.hh.sledj.net
\r
27 (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])
\r
28 by mx.google.com with ESMTPS id gy6sm644552wib.11.2012.01.09.03.16.25
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Mon, 09 Jan 2012 03:16:26 -0800 (PST)
\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
32 id 2CED99FC16; Mon, 9 Jan 2012 11:16:24 +0000 (GMT)
\r
33 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
34 Subject: Re: [PATCH v2] emacs: Helpers for notmuch developers.
\r
35 In-Reply-To: <87mx9xw475.fsf@zancas.localnet>
\r
36 References: <1325685678-12710-1-git-send-email-dme@dme.org>
\r
37 <1325844199-1812-1-git-send-email-dme@dme.org>
\r
38 <87lipjk9t9.fsf@zancas.localnet>
\r
39 <cunboqd1dye.fsf@hotblack-desiato.hh.sledj.net>
\r
40 <87mx9xw475.fsf@zancas.localnet>
\r
41 User-Agent: Notmuch/0.10.2+151~gbf1dc2b (http://notmuchmail.org)
\r
42 Emacs/24.0.92.1 (x86_64-pc-linux-gnu)
\r
43 From: David Edmondson <dme@dme.org>
\r
44 X-Now-Playing: Mike Morasky: Triple Laser Phase (Portal 2: Songs to Test By)
\r
45 Date: Mon, 09 Jan 2012 11:16:20 +0000
\r
46 Message-ID: <cun1ur986t7.fsf@hotblack-desiato.hh.sledj.net>
\r
48 Content-Type: multipart/signed; boundary="=-=-=";
\r
49 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Mon, 09 Jan 2012 11:16:34 -0000
\r
65 Content-Type: text/plain
\r
66 Content-Transfer-Encoding: quoted-printable
\r
68 On Mon, 09 Jan 2012 06:38:54 -0400, David Bremner <david@tethera.net> wrote:
\r
69 > > Oh. It's supposed to delete the existing branch. It did in my test. What
\r
70 > > happens for you?
\r
72 > FWIW, I loaded notmuch-dev.el on top of current master.
\r
74 > The magit buffer shows=20
\r
76 > $ git --no-pager checkout -b review/patch-emacs-don't-signal-an-error-whe=
\r
77 n-reaching-the-end-of-the-search-results master
\r
78 > fatal: A branch named 'review/patch-emacs-don't-signal-an-error-when-reac=
\r
79 hing-the-end-of-the-search-results' already exists.
\r
81 > The backtrace is=20
\r
83 > signal(error ("Git failed"))
\r
84 > error("Git failed")
\r
85 > magit-run*(("git" "--no-pager" "checkout" "-b" "review/patch-emacs-don'=
\r
86 t-signal-an-error-when-reaching-the-end-of-the-search-results" "master"))
\r
87 > #[nil "\303\304
\b B\n\"!\207" [magit-git-executable magit-git-standard-o=
\r
88 ptions args magit-run* append] 4]()
\r
89 > magit-refresh-wrapper(#[nil "\303\304
\b B\n\"!\207" [magit-git-executabl=
\r
90 e magit-git-standard-options args magit-run* append] 4])
\r
91 > magit-run-git("checkout" "-b" "review/patch-emacs-don't-signal-an-error=
\r
92 -when-reaching-the-end-of-the-search-results" "master")
\r
93 > magit-create-branch("review/patch-emacs-don't-signal-an-error-when-reac=
\r
94 hing-the-end-of-the-search-results" "master")
\r
95 > notmuch-dev-create-branch("review/patch-emacs-don't-signal-an-error-whe=
\r
96 n-reaching-the-end-of-the-search-results")
\r
97 > (let ((default-directory notmuch-dev-temporary-repository-path)) (notmu=
\r
98 ch-dev-checkout-master) (condition-case nil (notmuch-dev-delete-branch patc=
\r
99 h-name) (error nil)) (notmuch-dev-create-branch patch-name) (with-temp-file=
\r
100 mbox-path (erase-buffer) (call-process notmuch-command nil t nil "show" "-=
\r
101 -format=3Dmbox" search-terms)) (magit-run* (list magit-git-executable "am" =
\r
102 mbox-path)) (magit-status notmuch-dev-temporary-repository-path))
\r
103 > (let ((patch-name ...) (mbox-path ...)) (notmuch-dev-make-temporary-rep=
\r
104 ository) (let (...) (notmuch-dev-checkout-master) (condition-case nil ... .=
\r
105 ..) (notmuch-dev-create-branch patch-name) (with-temp-file mbox-path ... ..=
\r
106 .) (magit-run* ...) (magit-status notmuch-dev-temporary-repository-path)))
\r
107 > notmuch-dev-review-patch("[PATCH] emacs: Don't signal an error when rea=
\r
108 ching the end of the search results." "id:\"1324370714-28545-1-git-send-ema=
\r
110 > notmuch-dev-show-review-patch()
\r
111 > call-interactively(notmuch-dev-show-review-patch t nil)
\r
112 > execute-extended-command(nil)
\r
113 > call-interactively(execute-extended-command nil nil)
\r
115 Could you try running
\r
116 (notmuch-dev-delete-branch "review/patch-emacs-don't-signal-an-error-=
\r
117 when-reaching-the-end-of-the-search-results")
\r
118 when inside that repository please?
\r
121 Content-Type: application/pgp-signature
\r
123 -----BEGIN PGP SIGNATURE-----
\r
124 Version: GnuPG v1.4.11 (GNU/Linux)
\r
126 iEYEARECAAYFAk8KzIQACgkQaezQq/BJZRb4wwCfS+HmJ+Qj9HrlyeHqmnEi8g2/
\r
127 uFkAni9RRgs8ZXjOp8oIFPQiwEZbhwXi
\r
129 -----END PGP SIGNATURE-----
\r