Commit 3bdc13e4 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(completion-ignored-extensions): Add .svn.

(vc-svn-delete-file): New function.
parent 41a6d712
;;; vc-svn.el --- non-resident support for Subversion version-control
;; Copyright (C) 1995,98,99,2000,2001,2002 Free Software Foundation, Inc.
;; Copyright (C) 1995,98,99,2000,2001,02,2003 Free Software Foundation, Inc.
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Stefan Monnier <>
......@@ -99,6 +99,9 @@ This is only meaningful if you don't use the implicit checkout model
;;;###autoload (load "vc-svn")
;;;###autoload (vc-svn-registered f)))
(add-to-list 'completion-ignored-extensions ".svn/")
(defun vc-svn-registered (file)
"Check if FILE is SVN registered."
(when (file-readable-p (expand-file-name ".svn/entries"
......@@ -246,6 +249,9 @@ This is only possible if SVN is responsible for FILE's directory.")
(concat "-r" rev))
(defun vc-svn-delete-file (file)
(vc-svn-command nil 0 file "remove"))
(defun vc-svn-rename-file (old new)
(vc-svn-command nil 0 new "move" (file-relative-name old)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment