Variable: projectile-svn-command

projectile-svn-command is a customizable variable defined in projectile.el.

Value

"svn list -R . | grep -v '/$' | tr '\\n' '\\0'"

Documentation

Command used by projectile to get the files in a svn project.

svn list -R reports directories too, with a trailing slash, so they are filtered out - the project files are what Projectile is after.

The command runs non-interactively (its output is piped), so svn can't prompt for credentials. For projects on an authenticated remote you need to have your credentials cached first (e.g. by running svn once interactively and letting it store them), otherwise the command fails with an authentication error. See URL https://github.com/bbatsov/projectile/issues/1638.

This variable was added, or its default value changed, in projectile version 0.9.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-svn-command "svn list -R . | grep -v '/$' | tr '\\n' '\\0'"
  "Command used by projectile to get the files in a svn project.

`svn list -R' reports directories too, with a trailing slash, so they
are filtered out - the project files are what Projectile is after.

The command runs non-interactively (its output is piped), so `svn'
can't prompt for credentials.  For projects on an authenticated remote
you need to have your credentials cached first (e.g. by running `svn'
once interactively and letting it store them), otherwise the command
fails with an authentication error.  See URL
`https://github.com/bbatsov/projectile/issues/1638'."
  :group 'projectile
  :type 'string
  :package-version '(projectile . "0.9.0"))