GNU bug report logs - #12001
24.1.50; vc-diff always talks to CVS repository

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Fri, 20 Jul 2012 18:59:01 UTC

Severity: normal

Found in version 24.1.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 12001 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12001 <at> debbugs.gnu.org
Subject: Re: bug#12001: 24.1.50; vc-diff always talks to CVS repository
Date: Sun, 19 Aug 2012 18:29:58 -0400
    >     I cannot reproduce that.  When the vc backup file for the current
    >     revision exists, vc-diff uses it as the base.

    > What is the "vc backup file"?  How can I tell whether it exists?

    See vc-version-backup-file-name.  They are created the first time the
    modified file is saved.

This is not happening for me when I edit the Emacs sources.
The reason seems to be that 

           (vc-call-backend backend 'make-version-backups-p file)

does nothing, because it calls vc-default-make-version-backups-p
which always returns nil.

This is because (get 'Bzr 'vc-functions)
returns the following:

((make-version-backups-p vc-default-make-version-backups-p . Bzr) (checkout-model . vc-bzr-checkout-model) (registered . vc-bzr-registered) (find-file-hook . vc-bzr-find-file-hook) (working-revision . vc-bzr-working-revision) (state-heuristic . vc-bzr-state-heuristic) (mode-line-string vc-default-mode-line-string . Bzr))

Indeed, vc-bzr-make-version-backups-p is not defined.
Should it be?

--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call





This bug report was last modified 12 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.