TortoiseSVN works but svn command line not working?

I use TortoiseSVN normally and it works great. Whenever I try to use SVN from the command line, I get

c:\code\MyProject> svn status
svn: '.' is not a working copy 

although this is the same directory that I usually work with using TortoiseSVN.

What is the solution to this problem?

+3
source share
3 answers

Make sure that both TortoiseSVN and SVN are the same client versions. In Windows Explorer, right-click → TortoiseSVN → About. Your version information will look like this:

TortoiseSVN 1.6.5, Build 16974 - 32 Bit , 2009/08/20 08:13:46
Subversion 1.6.5,
apr 1.3.8
apr-utils 1.3.9
neon 0.28.6
OpenSSL 0.9.8k 25 Mar 2009
zlib 1.2.3

So my client version is "Subversion 1.6.5". From the command line, do:

svn --version

You will get something like this:

svn, version 1.6.4 (r38063)
compiled Aug  5 2009, 12:42:52

Copyright (C) 2000-2009 CollabNet.</pre>

. .

, SVN ".svn" . TortoiseSVN "_svn" ".svn" ( Tortoise SVN → → ). .

+7

, , .

c:\code\MyProject\folder> svn status

c:\code\MyProject> svn status folder
+1

, svn instal "svn". :

TortoiseProc.exe /command:checkout /url:"< < your repository url>>" /path:"< < your working copy path>>" /closeonend:1 /notempfile /

GUI.

P.S. TortoiseProc.exe PATH.

0

Source: https://habr.com/ru/post/1721534/


All Articles