Unexplained Subversion Directory Status After Check

I work in an SVN repo with a huge branch area. As a result, I made a small (-depth empty) checkout in my branches folder.

Example: C: \ svn \ branches

My working copy has no subfolders.

Suppose I have a MyBranch branch that I want to check.

I run:

svn checkout http://svn/ThisProject/branches/MyBranch C:\svn\branches\MyBranch --depth infinity

Coolio. I get all the files. However, svn statusit looks a bit strange:

C: \ svn \ branches> svn status
? Mybranch

Let me check the information ...

C: \ svn \ branches> svn info.
Path:.
URL: http: // svn / ThisProject / branches
Repository Root: http: // svn
Repository UUID: 3facc57d-2901-0010-8249-59daf7a806c1
Revision: 1733
Node Kind: directory
Schedule: normal
Depth: empty
Last Changed Author: e467443
Last Changed Rev: 1733
Last Changed Date: 2010-12-14 21:42:31 +0800 (Tue, 14 Dec 2010)
C:\svn\branches> svn info MyBranch
Path: ARPE-TEST2
URL: http://svn/ThisProject/branches/MyBranch
Repository Root: http://svn
Repository UUID: 3facc57d-2901-0010-8249-59daf7a806c1
Revision: 1733
Node Kind: directory
Schedule: normal
Last Changed Author: v094424
Last Changed Rev: 1624
Last Changed Date: 2010-12-13 22:46:21 +0800 (Mon, 13 Dec 2010)

. :

C:\svn\branches> svn add MyBranch
svn: warning: 'MyBranch' is already under version control

, branches Depth: empty, SVN .

- ? , .

CollabNet Windows.

C:\svn\branches> svn --version
svn, version 1.6.12 (r955767)
   compiled Jun 21 2010, 16:00:59
+3
3

MyBranch ,

cd \svn\branches
svn update --set-depth infinity MyBranch
+2

, . , () .

+3

You are not in the working directory, Subversion commands work only when your current working directory is inside the project directory:

cd MyBranch
svn status

After that, you will all begin to work.

+1
source

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


All Articles