Vault SVN is a desktop-only Obsidian plugin for managing SVN working copies directly inside your vault. It provides a visual SVN client panel with status tree, staging, commit, conflict resolution, and more.
⚠️ Permissions: This plugin invokes the system
svnCLI via Node.jschild_process.execFileand accesses SVN working copies on the local filesystem viafs. It only operates on paths you configure in settings. These permissions are required for SVN version control functionality and cannot be replaced by the Obsidian vault API.
Current stable version: 1.1.13
Latest release: https://github.com/caesarloo/obsidian-svn/releases/tag/1.1.13
main.jsmanifest.jsonstyles.css<Vault>/.obsidian/plugins/vault-svn/svn --version in your terminal.Open Vault SVN PanelOpen Vault SVN icon in the left ribbonConfigure these in the plugin settings tab:
| Setting | Description |
|---|---|
| SVN Executable Path | Optional; leave empty to use system PATH |
| Auto-refresh Interval | How often to poll for status changes |
| Auto-open Panel on Startup | Open the panel automatically when Obsidian starts |
svn update)svn status)When conflicts are detected, the plugin shows a conflict indicator. To resolve:
svn update)svn status)Q: No changes are shown.
A: Verify the working copy path in settings. Check that svn status runs correctly in that directory from your terminal.
Q: Plugin says "svn command not found".
A: Run svn --version in your terminal to verify installation. If installed but still failing, set the absolute path to the svn executable in plugin settings.
Q: Commit fails.
A: Check for unresolved conflicts or file permission issues.
# Build the plugin
npm run build
# Type-check
npm run typecheck
Vault SVN 是一个 Obsidian 桌面端插件,用于在库内管理 SVN 工作副本。
⚠️ 权限说明:本插件通过 Node.js
child_process.execFile调用系统已安装的svnCLI 命令,并使用fs模块直接访问文件系统上的 SVN 工作副本。插件仅在用户配置的工作副本路径下执行 SVN 操作,不会主动访问其他目录。这些权限是 SVN 版本管理功能所必需的,无法通过 Obsidian vault API 替代。
当前稳定版本:1.1.13
最新发布页:https://github.com/caesarloo/obsidian-svn/releases/tag/1.1.13
main.jsmanifest.jsonstyles.css<Vault>/.obsidian/plugins/vault-svn/svn 命令行工具。打开 SVN 面板Open Vault SVN在插件设置中填写以下信息:
建议按以下顺序操作:
svn update)svn status)检测到冲突时,插件会给出冲突提示。可按以下流程处理:
svn update)svn status)svn status。svn --version 验证安装。