]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous change.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 11 Oct 2007 23:32:32 +0000 (23:32 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 11 Oct 2007 23:32:32 +0000 (23:32 +0000)
lisp/vc.el

index 77d85352a7732852459521e8a30424eb3d2dcfd7..a0db56ce6d770d2e6c3fe26b992547af2486049e 100644 (file)
@@ -1480,9 +1480,9 @@ merge in the changes into your working copy."
      ((stringp state)
       (let ((revision 
             (if verbose 
-                (read-string "Version to steal: ")
-              (vc-workfile-version file))))
-       (mapc (lambda (file) (vc-steal-lock file version state) files))))
+                (read-string "Revision to steal: ")
+              (vc-working-revision file))))
+       (mapc (lambda (file) (vc-steal-lock file revision state) files))))
        ;; needs-patch
      ((eq state 'needs-patch)
       (dolist (file files)