Skip to content

Diff Changes Head not work on UNC path #111

@nyan777

Description

@nyan777

VSCode Version: 1.19.2
OS Version: Windows 10
Extension Version: 1.6.0
System Language: Japanese

Steps to Reproduce:

  1. open project on unc path.
  2. show svn file list.
  3. right click any file, select "Diff Changes Head".

output like this:

[proj]$ svn cat \web\proj\index.html -r HEAD
svn: E155007: 'C:\web\proj\index.html' is not a working copy

path should be:

\\xxx.xxx.xxx.xxx\web\proj\index.html

it will work if I change script like:

svn.js:133

+ path = path.replace(/^/g, "\\xxx.xxx.xxx.xxx");
var args = ["cat", path];

But I don't know how to get root path for project.
So please fix it.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions