emacs-devel
[Top][All Lists]
Advanced

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

Re: Git VC commands on remote file via Tramp


From: Michael Albinus
Subject: Re: Git VC commands on remote file via Tramp
Date: Sun, 06 Jan 2008 13:11:14 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

André Cruz <address@hidden> 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é 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é Cruz

Best regards, Michael.




reply via email to

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