Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svn installation not found. #389

Closed
lcyan opened this issue Oct 18, 2018 · 11 comments
Closed

Svn installation not found. #389

lcyan opened this issue Oct 18, 2018 · 11 comments

Comments

@lcyan
Copy link

lcyan commented Oct 18, 2018

  • VSCode Version: 1.28.2(user setup)
  • OS Version: window7 6.1.7601 Service Pack 1 Build 7601
  • Extension Version: 1.44.1
  • System Language:zh-cn
  • SVN Version: 1.10.3 (r1842928)

Issue

Svn installation not found.

but

_20181018125405

my vscode setting

"svn.path": "C:\Program Files\TortoiseSVN\bin\svn.exe",

Steps to Reproduce

  1. open vscode
  2. show svn not found tip

SVN Output

Paste here content of "View >> Output >> OUTPUT >> SVN"
Svn installation not found.
Updated "svn.path" with "c:\Program Files\TortoiseSVN\bin\svn.exe"
Svn installation not found.

Screenshots

@JohnstonCode
Copy link
Owner

Unable to replicate on my windows machine. Was this working on 1.44.0?

@JohnstonCode
Copy link
Owner

You also shouldn't need to specify the path in settings as C:\Program Files\TortoiseSVN\bin\svn.exe is one of the paths it looks in

@lcyan
Copy link
Author

lcyan commented Oct 18, 2018

Unable to replicate on my windows machine. Was this working on 1.44.0?

working on 1.44.1

@JohnstonCode
Copy link
Owner

Are you still having a problem?

@lcyan
Copy link
Author

lcyan commented Oct 19, 2018

Are you still having a problem?

Yes.

_20181019094641

@edgardmessias
Copy link
Contributor

@lcyan, run follow codes and paste here the response:

c:\Program Files\TortoiseSVN\bin\svn.exe --version
echo %errorLevel%
c:\Program Files\TortoiseSVN\bin\svn.exe help checkout
echo %errorLevel%

Join on Gitter

@lcyan
Copy link
Author

lcyan commented Oct 20, 2018

@lcyan, run follow codes and paste here the response:

c:\Program Files\TortoiseSVN\bin\svn.exe --version
echo %errorLevel%
c:\Program Files\TortoiseSVN\bin\svn.exe help checkout
echo %errorLevel%

Join on Gitter

c:\Program Files\TortoiseSVN\bin>svn.exe --version
svn, version 1.10.3 (r1842928)
   compiled Oct  8 2018, 22:14:05 on x86-microsoft-windows

Copyright (C) 2018 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.9 (compiled with 1.3.9)
  - handles 'http' scheme
  - handles 'https' scheme

The following authentication credential caches are available:

* Wincrypt cache in C:\Users\yanleichang\AppData\Roaming\Subversion

c:\Program Files\TortoiseSVN\bin>echo %errorLevel%
0

c:\Program Files\TortoiseSVN\bin>svn.exe help checkout
拒绝访问。

@edgardmessias
Copy link
Contributor

The problem is length of help command

JohnstonCode added a commit that referenced this issue Oct 23, 2018
## [1.44.2](v1.44.1...v1.44.2) (2018-10-23)

### Bug Fixes

* Improved svn detection (close [#389](#389)) ([#391](#391)) ([dabb916](dabb916))
@JohnstonCode
Copy link
Owner

🎉 This issue has been resolved in version 1.44.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@lcyan
Copy link
Author

lcyan commented Oct 24, 2018

The problem is length of help command

thanks

@alisalxy
Copy link

hi,
I also miss the issure "SVN not found"
svn

Below is the relevant information about vscode:
vs code

I follow the instructions above to execute the results as follows:

C:\Program Files\TortoiseSVN\bin>svn.exe --version
[0x7FEFD15EFF7] ANOMALY: use of REX.w is meaningless (default operand size is 64)
svn, version 1.11.0 (r1845130)
compiled Oct 30 2018, 21:50:05 on x86-microsoft-windows

Copyright (C) 2018 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

  • ra_svn : Module for accessing a repository using the svn network protocol.
    • with Cyrus SASL authentication
    • handles 'svn' scheme
  • ra_local : Module for accessing a repository on local disk.
    • handles 'file' scheme
  • ra_serf : Module for accessing a repository via WebDAV protocol using serf.
    • using serf 1.3.9 (compiled with 1.3.9)
    • handles 'http' scheme
    • handles 'https' scheme

The following authentication credential caches are available:

  • Wincrypt cache in C:\Users\Administrator\AppData\Roaming\Subversion

C:\Program Files\TortoiseSVN\bin>echo %errorLevel%
0

C:\Program Files\TortoiseSVN\bin>svn.exe help checkout
[0x7FEFD15EFF7] ANOMALY: use of REX.w is meaningless (default operand size is 64)
checkout (co): Check out a working copy from a repository.
usage: checkout URL[@Rev]... [PATH]

If specified, REV determines in which revision the URL is first
looked up.

If PATH is omitted, the basename of the URL will be used as
the destination. If multiple URLs are given each will be checked
out into a sub-directory of PATH, with the name of the sub-directory
being the basename of the URL.

If --force is used, unversioned obstructing paths in the working
copy destination do not automatically cause the check out to fail.
If the obstructing path is the same type (file or directory) as the
corresponding path in the repository it becomes versioned but its
contents are left 'as-is' in the working copy. This means that an
obstructing directory's unversioned children may also obstruct and
become versioned. For files, any content differences between the
obstruction and the repository are treated like a local modification
to the working copy. All properties from the repository are applied
to the obstructing path.

See also 'svn help update' for a list of possible characters
reporting the action taken.

Valid options:
-r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
NUMBER revision number
'{' DATE '}' revision at start of the date
'HEAD' latest in repository
'BASE' base rev of item's working copy
'COMMITTED' last commit at or before BASE
'PREV' revision just before COMMITTED
-q [--quiet] : print nothing, or only summary information
-N [--non-recursive] : obsolete; try --depth=files or --depth=immediates
--depth ARG : limit operation by depth ARG ('empty', 'files',
'immediates', or 'infinity')
--force : force operation to run
--ignore-externals : ignore externals definitions

Global options:
--username ARG : specify a username ARG
--password ARG : specify a password ARG (caution: on many operating
systems, other users will be able to see this)
--password-from-stdin : read password from stdin
--no-auth-cache : do not cache authentication tokens
--non-interactive : do no interactive prompting (default is to prompt
only if standard input is a terminal device)
--force-interactive : do interactive prompting even if standard input
is not a terminal device
--trust-server-cert : deprecated; same as
--trust-server-cert-failures=unknown-ca
--trust-server-cert-failures ARG : with --non-interactive, accept SSL server
certificates with failures; ARG is comma-separated
list of 'unknown-ca' (Unknown Authority),
'cn-mismatch' (Hostname mismatch), 'expired'
(Expired certificate), 'not-yet-valid' (Not yet
valid certificate) and 'other' (all other not
separately classified certificate errors).
--config-dir ARG : read user configuration files from directory ARG
--config-option ARG : set user configuration option in the format:
FILE:SECTION:OPTION=[VALUE]
For example:
servers:global:http-library=serf

C:\Program Files\TortoiseSVN\bin>echo %errorLevel%
0

thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants