unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
Cc: 33394@debbugs.gnu.org, Michael Albinus <michael.albinus@gmx.de>
Subject: bug#33394: 27.0.50; trampver cannot determine repository version
Date: Wed, 01 Apr 2020 09:03:17 -0400	[thread overview]
Message-ID: <857dyznysq.fsf@gmail.com> (raw)
In-Reply-To: <07829fda-e40b-7baa-67c2-314e674d9fe6@gmail.com> ("Clément Pit-Claudel"'s message of "Wed, 1 Apr 2020 00:09:30 -0400")

Clément Pit-Claudel <cpitclaudel@gmail.com> writes:

> I'm still seeing a variant of this bug when git is not available:
>
> $ PATH= /usr/local/bin/emacs -Q --batch --eval '(setq debug-on-error t)' --eval "(require 'tramp)"
> Debugger entered--Lisp error: (file-missing "Searching for program" "No such file or directory" "git")
>   call-process("git" nil (t nil) nil "rev-parse" "--abbrev-ref" "HEAD")
>   emacs-repository-branch-git("/build/emacs/master/")
>   emacs-repository-get-branch("/build/emacs/master/")
>   byte-code("\3021$\0\303\304\305\306!\307\"\206\17\0\10\1\31\211;\205\37\0\310\1!\205\37\0\311\1!)\266\2020\207\210\312\207"
> [source-directory inhibit-message (error) t locate-dominating-file
> locate-library "tramp" ".git" file-directory-p
> emacs-repository-get-branch nil] 4)
>   (defconst tramp-repository-branch (byte-code

> Btw, I'm not sure why that error escapes your ignore-errors form.

See https://debbugs.gnu.org/40109#8

Essentially, the innermost condition-case handler takes precedence.





      parent reply	other threads:[~2020-04-01 13:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-15  9:45 bug#33394: 27.0.50; trampver cannot determine repository version Geoffrey Ferrari
2018-11-15 11:40 ` Michael Albinus
2018-11-15 11:56   ` Geoffrey Ferrari
2018-11-15 12:56     ` Michael Albinus
2018-11-15 13:10       ` Geoffrey Ferrari
2018-11-15 13:19         ` Michael Albinus
2020-04-01  4:09 ` Clément Pit-Claudel
2020-04-01 10:13   ` Michael Albinus
2020-04-01 13:03   ` Noam Postavsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=857dyznysq.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=33394@debbugs.gnu.org \
    --cc=cpitclaudel@gmail.com \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).