You're not currently signed in.

vc-svk.el now lives in SVK's subversion repository (http://code.bestpractical.com/svk/trunk/utils/vc-svk.el). I've made some changes so it can properly register files. -- Nelson Elhage

This backend works well (if occasionally slowly when it must start SVK). It is not yet as complete as vc-svn, but getting better. Bug reports appreciated, but I may not have much time. Sorry.

Note that there is another, less feature-complete version of vc-svk.el at EmacsSVK2.

This version is developed on CVS Emacs, but has been tested with Emacs 21. If you experience problems, you may wish to try the alternate implementation at EmacsSVK2.

Those preferring the pcl-cvs style Emacs interfaces should have a look to EmacsPSVK.

Comments

This is great! Do you have any plans to release this into the Debian repositories so it is apt-get-able? -- Noah Slater

/That's a thought. The current incarnation works well for me, but I would feel better if more users tested it first. Maybe we could ask this be included with SVK?/

It breaks tramp. The previous version I was using simply made tramp hang when opening a file consuming all CPU, drove me nuts trying to figure out what was going on. The new version now causes an error "vc-do-command: Running svk...FAILED (status 127) " when you try to open a file via tramp. -- MichaelSchwern

I have a patch for vc-svk, which make both ediff-revision and some broken stuff in regards to file last modified in another branch. I really don't know where to send it and it's a quite small, so I add it here, for everybody. Feel free to delete it once it will be in the repository.

By the way, I have no problem with tramp but I currently only run Emacs21 (debian/etch). Is it happening in any circonstance or only with certain paths?

-- FabienNinoles

--- vc-svk.el	(révision 2400)
+++ vc-svk.el	(copie de travail)
@@ -397,10 +397,16 @@
               (concat "-r" rev))
          (vc-svk-switches 'SVK 'checkout)))
 
-(defun vc-svk-checkout (file &optional editable rev)
+(defun vc-svk-checkout (file &optional editable rev workfile)
   (message "Checking out %s..." file)
-  (with-current-buffer (or (get-file-buffer file) (current-buffer))
-    (vc-call update file editable rev (vc-svk-switches 'SVK 'checkout)))
+  (if workfile
+      (save-excursion
+        (let ((buffer-name (create-file-buffer workfile)))
+          (set-buffer buffer-name)
+          (vc-svk-find-version file rev buffer-name)
+          (write-file workfile)))
+    (with-current-buffer (or (get-file-buffer file) (current-buffer))
+      (vc-call update file editable rev (vc-svk-switches 'SVK 'checkout))))
   (vc-mode-line file)
   (message "Checking out %s...done" file))
 
@@ -693,9 +699,7 @@
       (setq status (char-after (line-beginning-position)))
       (unless (eq status ??)
         (vc-file-setprop file 'vc-backend 'SVK)
-        ;; Use the last-modified revision, so that searching in vc-print-log
-        ;; output works.
-        (vc-file-setprop file 'vc-workfile-version (match-string 2))
+        (vc-file-setprop file 'vc-workfile-version (match-string 1))
         (vc-file-setprop
          file 'vc-state
          (cond

Here's a bit of code that appears to disable SVK for tramp requests. I was seeing similar problems to what MichaelSchwern reported. This is adapted from something on the EmacsWiki.

(defadvice vc-svk-registered (around my-vc-svk-registered-tramp activate)
  "Don't try to use SVK on files accessed via TRAMP."
  (if (and (fboundp 'tramp-tramp-file-p)
           (tramp-tramp-file-p (ad-get-arg 0)))
      nil
    ad-do-it))

Put that in your .emacs file and you should be good to go. - DaveRolsky