GNU bug report logs -
#4868
23.1; "No fileset is available here"
Previous Next
Reported by: Tom Tromey <tromey <at> redhat.com>
Date: Wed, 4 Nov 2009 19:25:04 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 4868 <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> >> I modified a file in a git-managed directory.
> >> Then I typed `C-x v ='.
> >> I got an error: "No fileset is available here".
>
> > Is this file not registered with Git?
>
> > If yes, then that's the error it would get.
> > emacs-22 used to have a nicer looking error in that case: "File is not
> > under version control". Not sure why that check got removed, there's
> > nothing in the ChangeLog to explain it :-(
>
> Would the patch below make sense? After all, at that point we've
Looks fine to me.
> already checked we're visiting a file, there's no backend and we're not
> in vc-dir-mode, so a message like "No fileset is available here" is
> probably never right.
>
> Stefan
>
>
> === modified file 'lisp/vc.el'
> --- lisp/vc.el 2009-10-24 18:33:25 +0000
> +++ lisp/vc.el 2009-11-05 02:00:24 +0000
> @@ -922,7 +922,7 @@
> nil)
> (list (vc-backend-for-registration (buffer-file-name))
> (list buffer-file-name))))
> - (t (error "No fileset is available here")))))
> + (t (error "File is not under version control")))))
>
> (defun vc-ensure-vc-buffer ()
> "Make sure that the current buffer visits a version-controlled file."
This bug report was last modified 15 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.