From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: 33394@debbugs.gnu.org
Cc: Michael Albinus <michael.albinus@gmx.de>
Subject: bug#33394: 27.0.50; trampver cannot determine repository version
Date: Wed, 1 Apr 2020 00:09:30 -0400 [thread overview]
Message-ID: <07829fda-e40b-7baa-67c2-314e674d9fe6@gmail.com> (raw)
In-Reply-To: <CAAoeO9i5aUgEXT_9HM8OjZCQP=3Z0BkQcerHan+1nTevdBVa+w@mail.gmail.com>
Thanks for the fix, Michael.
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 "\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) ("/usr/local/share/emacs/28.0.50/lisp/net/trampver.e..." . 601))
require(trampver)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\311\313\314\315\316\317&\13\207" [require tramp-compat tramp-integration trampver cl-lib custom-declare-group tramp nil "Edit remote files with a combination of ssh, scp, ..." :group files comm :link (custom-manual "(tramp)Top") :version "22.1"] 12)
require(tramp)
eval((require 'tramp) t)
command-line-1(("--eval" "(setq debug-on-error t)" "--eval" "(require 'tramp)"))
command-line()
normal-top-level()
Btw, I'm not sure why that error escapes your ignore-errors form.
Clément.
next prev parent reply other threads:[~2020-04-01 4:09 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 [this message]
2020-04-01 10:13 ` Michael Albinus
2020-04-01 13:03 ` Noam Postavsky
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=07829fda-e40b-7baa-67c2-314e674d9fe6@gmail.com \
--to=cpitclaudel@gmail.com \
--cc=33394@debbugs.gnu.org \
--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).