Mark Triggs <[EMAIL PROTECTED]> writes:
> Hi all,
>
> I tried bzr for the first time today and noticed that `C-x T i' still
> tries to load tla-inventory, so I guessed there's no unified inventory
> code yet?
See dvc-ui.el and dvc-global-keymap. It used to be tla-global-keymap,
and we're changing the keys when we move features to DVC, but to keep
the Xtla part operational, we keep the tla- commands otherwise, yes.
> * A directory (the inventory's root directory)
> * A bunch of rules of the form (tag (op1 op2 ...)). The idea behind
> this is that when the user is in the inventory buffer and says
> "remove the file at point", dvc-inventory-mode can make sure that
> the file's tag supports being removed. In the above, I'm allowing
> modified files ("M"), added files ("A") and unchanged files ("") to
> be removed, but not unknown files ("?").
This is surely a good idea, but indeed, it applies to status as well.
At the moment, the ewoc list of the status actually contains the
letter to display, as a 1-char string. It would probably be better to
have something cleaner instead, like a list of symbols - or tag -
('modified 'added 'unknown, ... possibly some back-end dependant), and
let the ewoc printer convert this into a string for the
user-interface.
This way, the other functions could also easily check that the tag
allows this operation.
Oh, BTW, a conflicts resolution interface is also on my TODO-list, and
it also fits exactly in this (but you feed the list with bzr conflicts
instead of bzr unknowns).
--
Matthieu
_______________________________________________
Xtla-el-dev mailing list
[email protected]
https://mail.gna.org/listinfo/xtla-el-dev