[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Update/Revert doesn't restore missed files

From: Sergey Azarkevich <azarkevich_at_gmail.com>
Date: Thu, 1 Aug 2013 10:42:59 +0300

I have working copy in which some files and directories missed: present on
server but absent locally. Update, revert doesn't restore them. Also it
doesn't look like sparse.
Problem was resolved via clean checkout, so I only report about it and not
look for solution.

------
C:\temp\svn-test\solution1\proj1>ls
App_Data Bootstrapper.cs proj1.csproj Properties Unity.config
 Web.config Wse.config classes

C:\temp\svn-test\solution1\proj1>svn ls
App_Data/
App_GlobalResources/
App_Themes/
Bootstrapper.cs
[... 8< ...]

C:\temp\svn-test\solution1\proj1>svn st

C:\temp\svn-test\solution1\proj1>svn up
Updating '.':
At revision 24799.

C:\temp\svn-test\solution1\proj1>svn revert . -R

C:\temp\svn-test\solution1\proj1>svn up . --force
Updating '.':
At revision 24799.

C:\temp\svn-test\solution1\proj1>svn up . --set-depth=infinity --force
Updating '.':
At revision 24799.

C:\temp\svn-test\solution1\proj1>svn up . --depth=infinity --force
Updating '.':
At revision 24799.

C:\temp\svn-test\solution1\proj1>svn info .
Path: .
Working Copy Root Path: C:\temp\svn-test
URL: https://xxxx/svn/GF/trunk/solution1/proj1
Relative URL: ^/trunk/solution1/proj1
Repository Root: https://xxxx/svn/GF
Repository UUID: 01c7c80d-d356-5740-a48b-b9b5f862b89e
Revision: 24799
Node Kind: directory
Schedule: normal
Last Changed Author: xxx
Last Changed Rev: 24488
Last Changed Date: 2013-07-19 11:27:37 +0300 (ðÔ, 19 ÉÀÌ 2013)

C:\temp\svn-test\solution1\proj1>svn info App_Themes
svn: warning: W155010: The node
'C:\temp\svn-test\solution1\proj1\App_Themes' was not found.

svn: E200009: Could not display info for all targets because some targets
don't exist

C:\temp\svn-test\solution1\proj1>svn up App_Themes
Updating 'App_Themes':
A App_Themes
A App_Themes\default
Updated to revision 24799.

------

(some file names was changed)

Here you can see that App_GlobalResources, App_Themes (and many others)
absent locally. But eventually downloaded when it was specified explicitly.

I can't say, how it was reached, because it is not my working copy. I
observe next hustle actions:

0. Working copy was bind to already deleted branch.
    Working copy has local modifications
    Some solutions from wc was opened in Visual Studio (with addin
VisualSVN)
1. Try switch wc root to ^/trunk with TortoiseSVN. Abort in the middle.
Cleanup.
2. Try switch wc/solution1 to ^/trunk/solution1 with TortoiseSVN. (I recall
that svn start delete many files and folders, but not sure). Abort in the
middle. Cleanup.
3. Try exclude(sparse wc) some solutions from wc with TortoiseSVN. Not sure
if it was started at all. May be also aborted.

This was performed with TortoiseSVN linked with subversion:
svn, version 1.7.2 (r1207936)
   compiled Dec 6 2011, 16:02:36

4. Then I start analyze working copy. I upgrade WC to 1.8, problem
preserved. All tests above was executed with 1.8
svn, version 1.8.0 (r1490375)
   compiled Jun 18 2013, 13:38:49 on x86/x86_64-microsoft-windows6.1.7601

5. Do not digg in depth, but seems wc.db no not hold references to (for
example) App_Themes in table NODES

Ask me for details.
Received on 2013-08-01 09:43:39 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.