From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Git VC commands on remote file via Tramp Date: Sun, 06 Jan 2008 13:11:14 +0100 Message-ID: <87wsqnm9wd.fsf@gmx.de> References: <2A20716B-D91E-4A82-A67E-9B627E3EA3EF@co.sapo.pt> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199621292 29369 80.91.229.12 (6 Jan 2008 12:08:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 12:08:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-15?Q?Andr=E9?= Cruz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 13:08:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBUIn-0006oc-Fe for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 13:08:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBUIQ-00051c-FJ for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 07:08:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBUII-0004xS-BZ for emacs-devel@gnu.org; Sun, 06 Jan 2008 07:07:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBUIG-0004sT-EV for emacs-devel@gnu.org; Sun, 06 Jan 2008 07:07:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBUIG-0004sF-Aw for emacs-devel@gnu.org; Sun, 06 Jan 2008 07:07:56 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JBUIG-0002Ye-C7 for emacs-devel@gnu.org; Sun, 06 Jan 2008 07:07:56 -0500 Original-Received: (qmail invoked by alias); 06 Jan 2008 12:07:54 -0000 Original-Received: from p57A21F0A.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.31.10] by mail.gmx.net (mp010) with SMTP; 06 Jan 2008 13:07:54 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+ilG1twUCixACqYqFV5gJGY96d4NbyNygh/WDhNF 4zzjYcWIw0x1WR In-Reply-To: <2A20716B-D91E-4A82-A67E-9B627E3EA3EF@co.sapo.pt> (=?iso-8859-15?Q?=22Andr=E9?= Cruz"'s message of "Sun, 6 Jan 2008 04:04:06 +0000") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86321 Archived-At: Andr=E9 Cruz writes: > Hello all. Hi, > I'm having some problems using the VC commands on a remote file which > has a Git backend. On local files I can use Git as a vc backend with > no problems but on remote files I get: > > Debugger entered--Lisp error: (error "No fileset is available here.") > signal(error ("No fileset is available here.")) > error("No fileset is available here.") > vc-deduce-fileset() > vc-print-log() > call-interactively(vc-print-log nil nil) > > I'm using the latest Emacs from CVS and the latest tramp version. Is > the problem on Emacs, vc-git.el or tramp? Andr=E9 did send me already the Tramp logs. I would say Tramp behaves as expected; I didn't see a problem there. I don't use git myself, so it would be a little bit harder for me to test. But scanning vc-git.el, I've seen it applies `call-process'. This cannot work on remote hosts. I guess it must be replaced by `process-file', plus adapting the file names used as arguments, because likely they will be in Tramp syntax. I would be willing to do the tests, but this might take a couple of days, because first I must teach myself git first. If somebody is faster than me, please run. Btw, `call-process' or `start-process' are used also in vc.el, vc-arch.el, vc-hg.el and vc-bzr.el. Likely this shall be reviewed, too. > Thanks for the help, > Andr=E9 Cruz Best regards, Michael.