Emacs support for Arch/tla

| 1 Comment

I have been working on adding support in Emacs for common tla commands. (tla is the Arch revision control system, kinda like CVS but much better...).

I am making it available in my Arch archive, at:

gavinb@arch.antonym.org--2004-tools    http://antonym.org/{archives}

Download

You can obtain it directly: tla.el

A full tarball with docs and so on are forthcoming...

Supported Commands

Currently very basic support is provided for the following:

changes

Displays a list of changed files. Eventually will be able to jump to edit.

commit

Automagically opens the log file (from make-log) and opens it in an edit buffer. When the user presses C-C C-C, the real commit will be performed.

file-diffs

Shows a real diff of the current file/buffer.

tree-lint

my-id

my-default-archive

archives

Extra Commands

There are also a few commands that are not provided by tla, but are very useful.

add-tag-id-to-file

Will add a unique generated tag id (from uuidgen) and add it to the bottom of the file in a comment, using a style appropriate for the file type.

convert-tag-explicit-to-tagline

This will suck in an explicit tag and turn it into a tagline, removing the old explicit tag.

Plans

I am working on a full mode, the idea being to bring it up to approximately the level of CVS support in Emacs (very good). Contributions are most welcome!

1 Comment

One good idea...
Well, it looks like I was beaten to the punch. Part way through writing this, I discovered some superior elisp hackers have written xtla, which goes beyond what support I have written. So I am discontinuing this effort, and any improvements I will add to xtla. Go ahead and check it out!

Leave a comment