-
-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
- VSCode Version: 1.20.1
- OS Version: Windows 10 x64
- Extension Version: 1.21.2
- System Language: English
- SVN Version: 1.9.7
Issue
In case of custom svn folders layout (branches are on second level subfolders) on attempt to switch back to the trunk after switching to any branch the error throwing: Path 'c:\projects\test-project' does not share common version control ancestry with the requested switch location.
Steps to Reproduce
- Create subfolder "test" in "branches" folder
- Add some branches to branches/test
- Add "svn.layout.branches": "branches/test" to the VSCode settings
- Switch to any branch
- Try to switch back to the trunk
SVN Output
[test-project]$ svn stat --xml --no-ignore --ignore-externals
[test-project]$ svn info --xml
[test-project]$ svn log -r BASE:HEAD -q --xml
[test-project]$ svn ls https://svn.company.local/svn/testProject/trunk --depth empty
[test-project]$ svn ls https://svn.company.local/svn/testProject/branches/ProcessingEngine
[test-project]$ svn ls https://svn.company.local/svn/testProject/tags
[test-project]$ svn switch https://svn.company.local/svn/testProject/branches/ProcessingEngine/2.0
[test-project]$ svn stat --xml --no-ignore --ignore-externals
[test-project]$ svn info --xml
[test-project]$ svn log -r BASE:HEAD -q --xml
[test-project]$ svn ls https://svn.company.local/svn/testProject/trunk --depth empty
[test-project]$ svn ls https://svn.company.local/svn/testProject/branches/ProcessingEngine
[test-project]$ svn ls https://svn.company.local/svn/testProject/tags
[test-project]$ svn switch https://svn.company.local/svn/testProject/trunk
svn: E195012: Path '.' does not share common version control ancestry with the requested switch location. Use --ignore-ancestry to disable this check.
svn: E195012: 'https://svn.company.local/svn/testProject/trunk' shares no common ancestry with 'C:\projects\test-project'
Metadata
Metadata
Assignees
Labels
No labels