Re: Bazaar VC support

<[email protected]> Fri, 26 Jun 2009 15:13:03 +0200
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
Hi,
 
yes, looks good - i will add this to the next release - thanks for impl!
 
Ciao,
Klaus
 
P.S.
thanks for praising ;-)

________________________________

Von: Baden Markus P. (KSTA 5) [mailto:[email protected]] 
Gesendet: Freitag, 26. Juni 2009 14:35
An: [email protected]
Betreff: [ECB-list] Bazaar VC support



Hi all, 

Just installed ECB and it looks pretty impressive. Thanks to all for that! 

For VC I use mostly Bazaar and since there is already a vc-bzr in emacs, it was pretty easy to get ecb to recognize bzr.

As identify-backend-function I use the function 

(defun ecb-vc-dir-managed-by-BZR (directory) 
  "Return 'BZR if DIRECTORY is managed by BZR. nil if not." 
  (and (locate-library "vc-bzr") 
       (ecb-file-exists-p (concat directory "/" ".bzr")) 
       (require 'vc) 
       (require 'vc-bzr) 'BZR)) 

And as check-state-function ecb-vc-state. At the first glance it looks to work, it also updates the symbols after commiting etc, so maybe can include it in the ecb code.

Keep up the nice work! 

Cheers, 

Markus

------------------------------------------------------------------------------

_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list