Bazaar VC support

View: New views
2 Messages — Rating Filter:   Alert me  

Bazaar VC support

by Baden Markus P. (KSTA 5) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: Bazaar VC support

by klaus.berndl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bazaar VC support
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:markus.baden@...]
Gesendet: Freitag, 26. Juni 2009 14:35
An: ecb-list@...
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
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list