Display subversion information when in a subversion repository. Also works for subfolders. For maximum compatibility,
make sure your
svn executable is up-to-date (when branch or status information is incorrect for example).
Local changes can also be displayed which uses the following syntax:
As doing multiple subversion calls can slow down the prompt experience, we do not fetch information by default.
You can set the following properties to
true to enable fetching additional information (and populate the template).
boolean- fetch the local changes - defaults to
SvnStatus- changes in the worktree (see below)
string- current branch (releative URL reported by
int- the currently checked out revision number
int- number of modified files
int- number of deleted files
int- number of added files
int- number of changed moved files
int- number of changed tracked files with conflicts
boolean- if the status contains changes or not
boolean- if the status contains conflicts or not
string- a string representation of the changes above