all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: "André Cruz" <andre.cruz@co.sapo.pt>
Cc: emacs-devel@gnu.org
Subject: Re: Git VC commands on remote file via Tramp
Date: Sun, 06 Jan 2008 13:11:14 +0100	[thread overview]
Message-ID: <87wsqnm9wd.fsf@gmx.de> (raw)
In-Reply-To: <2A20716B-D91E-4A82-A67E-9B627E3EA3EF@co.sapo.pt> ("André Cruz"'s message of "Sun, 6 Jan 2008 04:04:06 +0000")

André Cruz <andre.cruz@co.sapo.pt> 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	other threads:[~2008-01-06 12:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-06  4:04 Git VC commands on remote file via Tramp André Cruz
2008-01-06 12:11 ` Michael Albinus [this message]
2008-01-08 20:18 ` Michael Albinus
2008-01-09 10:46   ` André Cruz
2008-01-09 11:22     ` Michael Albinus
2008-01-09 12:03       ` André Cruz

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

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

  git send-email \
    --in-reply-to=87wsqnm9wd.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=andre.cruz@co.sapo.pt \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.