Stefan Reichör <[EMAIL PROTECTED]> writes:

> Committed [EMAIL PROTECTED]/dvc--dev--0--patch-197
>
> 2006-03-23 19:23:40 GMT       Stefan Reichoer <[EMAIL PROTECTED]>     
> patch-197
>
>     Summary:
>       Implemented the DVC ignore file handling for bzr
>     Revision:
>       dvc--dev--0--patch-197

> --- orig/lisp/bzr.el
> +++ mod/lisp/bzr.el
> @@ -294,6 +294,11 @@
>    (interactive)
>    (dvc-run-dvc-display-as-info 'bzr '("renames")))
> 
> +(defun bzr-ignore (pattern)
> +  "Run bzr ignore PATTERN."
> +  (interactive "sbzr ignore: ")
> +  (dvc-run-dvc-sync 'bzr (list "ignore" pattern)))
> +

Note : bzr ignore basically does a

  echo "pattern" >> `bzr root`/.bzrignore

Since bzr's startup time is relatively long, it would be nice to have
a pure elisp alternative for this.

(about bzr's startup time, there's John's plugin for "bzr serve",
which provides roughly the equivalent for emacs/emacsclient, but
today, it's a big security hole for people working on a shared machine
so I'd not recommand using it. Anyway, it adds a constraint which is
that you have to start the server before using it)

-- 
Matthieu

_______________________________________________
Xtla-el-dev mailing list
[email protected]
https://mail.gna.org/listinfo/xtla-el-dev

Reply via email to