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

[TSVN] 1.2.2... sad story

From: Flex <flex_at_datecs.bg>
Date: 2005-09-01 21:30:15 CEST

Hi all,

First, I don't know why I'm telling this because I can't give a reproduction on what happened but anyway... may trigger some though.

I have TSVN 1.2.2 official (yep, restarted after install) and a huge project...

Project/trunk
--CORE
--CORE\Icons
--COMMON (external)
--Dir1
--Dir2
--Dir3
--...
--File1.c
--File2.c
--File3.c
--...

I had to split it to 2 subprojects and use the CORE part in both. The goal was:

Project/trunk
--CORE
--CORE\Icons
--Subproject1
----COMMON (external)
----Dir1
----Dir2
----Dir3
----...
----File1.c
----File2.c
----File3.c
----...
--Subproject2
----COMMON (external)
----Dir1
----Dir2
----Dir3
----...
----File1.c
----File2.c
----File3.c
----...

So what I did:
1. Committed the whole trunk folder
2. Created a new Subproject1 folder in the Rep browser
3. Updated the trunk so I get this new folder in the wc
4. Selected all files & folders extept the Subproject1 (some were under verison control, some not) and used TSVN move to SubProject1.
5. TSVN complained that some folder had local modifications. This was not true, I had just updated it and all was green so I let it continue.
6. Operation failed for some reason around this local modification
7. I selected manually the remaining files & folders and tsvn moved to the Subproject1
8. Again, a complain of local modification but it passed now so I got:
Project/trunk
--Subproject1
----CORE
----CORE\Icons
----COMMON (external)
----Dir1
----Dir2
----Dir3
----...
----File1.c
----File2.c
----File3.c
----...

9. TSVN Move the CORE folder to upper level in Project/trunk. Success
10. I decided to commit this one but it failed - Project/trunk/COMMON was locked?!
11. Done a cleanup - passed
12. Commit failes again so I went to see what the heck this COMMON folder consists... I found 2 things:
First, the folder has dissapeared from the repository where it was (remeber it was used via svn:externals). Strange - I imported it again
Second, the COMMON folder contained *second* common folder which was under source control but the files in int were not under source control: I'm marking with (*) files & folders under source control:
COMMON(*)
--File1(*)
--File2(*)
--COMMON(*)
--File1
--File2

13. Worried enough I have tsvn deleted the second COMMON folder inside.
14. Tried to commit - still the same "COMMON" is locked error
15. Tried cleanup, unlock, check for modifications + check repository, checked the settings on that folder in the wc and in the repository - nothing
16. A bit annoyed I deleted the damn COMMON folder and did an update - the COMMON folder was checked out alongside with all of the files in and then an error that the COMMON folder is locked was given again (??!)
17. I gave up and leaved this COMMON folder for better times, made some modifications to the project and decided to open it with the current structure. For that I set the properties of Project/trunk/Subproject1 to svn:externals the CORE folder and did an update. Although I still received the damn "locked" error, I was able to checkout the CORE folder so now the project looked:
Project/trunk
--CORE
--CORE\Icons
--Subproject1
----CORE (external)
----CORE\Icons (external)
----COMMON (external)
----Dir1
----Dir2
----Dir3
----...
----File1.c
----File2.c
----File3.c
----...

18. I happily opened the project to find out that... all files in the CORE/Icons were missing! Shit.
19. Checked the Project/trunk/CORE/Icons folder - all icons were in and marked green.
20. Checked the repository - the Icons folder was there but empty!
21. Okay... will "commit" it then. Failure - "No files are modified so there is nothing to commit" or similar message. Wtf... on one of the places the files were missing at all, quite a bit of "modification"...
22. Tried to update - passed but nothing changed, cleanup - passed, add - no files to add (?), Check for modifications - none, Check repository - it said "Deleted" but I still can't do anything with this folder and files whithin.

In short I have 2 problems now:
1. Immortally locked COMMON folder which prevents any kind of updates
2. Icons folder full with files under version control which are missing in the repository

:(
Received on Thu Sep 1 20:31:00 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.