Henry S. Thompson wrote: > <[EMAIL PROTECTED]> writes: > >> HST: >>> So I patched the pattern and still no pause -- ah -- on cygwin you >> >> how do you have patched the pattern?? maybe i should patch the >> pattern in ECB too!! > > I just removed the @, but that leaves the pattern pretty weak. > Something like > > (and Root-content > (string-match "\\(@\\(.+\\)\\|^\\([-.0-9a-zA-Z]+\\)\\):" > Root-content) (or > (string-match 2 Root-content) > (string-match 3 Root-content)))
Hmm, better but not good enough ;-) What do you think about this function for testing if rep. is remote or not: (defun ecb-vc-cvs-root-remote-p (root) (if (string-match "^:local:" root) nil (and (string-match "^\\(:ext:\\|:server:\\)?\\([EMAIL PROTECTED]@\\)?\\([^:]+\\):" root) (match-string 3 root)))) Can you please test this a little bit - if it is ok, i would add this for the next ECB-release... Thanks a lot! Klaus