Function: vc-switch-backend

vc-switch-backend is a function alias and interactive for vc-change-backend, defined in vc.el.gz.

This command is obsolete since 30.1; use vc-change-backend instead.

Signature

(vc-switch-backend FILE BACKEND)

Documentation

Make BACKEND the current version control system for FILE.

FILE must already be registered in BACKEND. The change is not permanent, only for the current session. This function only changes VC's perspective on FILE, it does not register or unregister it. By default, this command cycles through the registered backends. To get a prompt, use a prefix argument.

Probably introduced at or before Emacs version 21.1.

Key Bindings

Aliases

vc-switch-backend (obsolete since 30.1)