Artifact d4ea6985ffff006d31108e0704580bf345f96254:
- File README.md — part of check-in [0176d66ed0] at 2020-09-20 08:23:57 on branch trunk — README.md (Credits): Fix unquoted characters. (user: ams size: 2267)
This file contains a GNU Emacs VC backend for the Fossil version control system. You need GNU Emacs version 25.1 or later.
How Do I load Fossil support into emacs?
Short answer:
Install the vc-fossil package from the MELPA package repository then customize the vc-handled-backend variable by adding "Fossil" to its list of names.
Alternative, slightly longer, answer:
Instead of installing from MELPA you may clone this source repository directly then add it manually to your Emacs setup as follows.
Add this to your .emacs file, or cut and paste this into the scratch
buffer and do
C-x C-e
to execute it.
(add-to-list 'vc-handled-backends 'Fossil t) (load-file "/path/to/this/project/vc/el/vc-fossil.el")
or if you would rather load the file lazily, compile the file (see below) and use this instead.
(add-to-list 'vc-handled-backends 'Fossil t) (autoload 'vc-fossil-registered "/path/to/this/project/vc/el/vc-fossil.elc")
To compile the file (with warnings) do the following
emacs -batch -q -no-site-file -eval '(byte-compile-file "vc-fossil.el")'
then you can load vc-fossil.elc, which should be nominally faster.
What emacs keys do I need?
This integrates fossil into emacs vc builtin mode. The same keys will work for fossil inside a fossil tree as for other SCMs.
A few are:
C-x v d | Run Fossil dired - like cvs-examine |
C-x v l | When in a file, show log |
v | In VC, do next action: merge/update/checkin |
</table>
Credits
- Venkat Iyer >venkat@comit.com<: Original author.
- Alfred M. Szmidt :
- Barak A. Pearlmutter >barak@pearlmutter.net<: Major cleanup of my initial versions,
- Frank Fisher >frank-fischer@shadow-soft.de<: Colorized logs, annotate, fixes for diff output.
- Paul Onions, >ponions37@gmail.com<: GNU emacs 25 support.
Mirrors
If you're reading this on github, this is mirrored for MELPA from https://chiselapp.com/user/venks/repository/emacs-fossil