bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33394: 27.0.50; trampver cannot determine repository version


From: Clément Pit-Claudel
Subject: bug#33394: 27.0.50; trampver cannot determine repository version
Date: Wed, 1 Apr 2020 00:09:30 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]