Hallo Matthieu!

Good to see you monitoring my changes!

> 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.

Do you actually think this is a real problem?

Ignoring files is function that is seldom used.
The advantage of using the bzr interface is, that the implementation could 
change
and the DVC interface is still working o.k.

And there is the possiblity to edit .bzrignore directly, if this interface is 
too slow
for many pattern.

> (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)

bzr's startup time seems to be o.k. for me:
% time bzr ignore dummy
bzr ignore dummy  0.24s user 0.07s system 23% cpu 1.311 total


Stefan.

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

Reply via email to