Reputation: 5229
I've got problem with local copy of SVN folder
$ svn up
svn: REPORT of '/svn-xxx/!svn/vcc/default': Could not read chunk size: connection was closed by server (http://127.0.0.1)
$ svn cleanup
$ svn up
svn: REPORT of '/svn-xxx/!svn/vcc/default': Could not read chunk size: connection was closed by server (http://127.0.0.1)
$ svn status
! .
! TM
? newTM/backup
I do not want to delete and restore whole folder because it contains many additional, ignored stuff
On another exported copy, with the same server, everything works flawlessly.
How can I proceed with svn up ?
Upvotes: 1
Views: 1574
Reputation: 5229
I would probably go with copying all files as you suggested (voted up)
Checkout to new folder
Copy all from old to new without overwriting and without .svn
rsync -av --exclude=.svn --ignore-existing old/ new/
Upvotes: 0
Reputation: 11341
The easy way would be to use TortoiseSvn. However, I'm guessing you are on unix.
cp
to the new directory from your working copy.!svn
foldersHere's a better explanation of my answer Possible to svn export and include unversioned files?
After you export to another directory you can delete the entire contents of your working copy. Do a clean checkout to where your working copy used to be. then copy your exported files over your working copy.
Upvotes: 1
Reputation: 6241
svn co path/to/folder/
).svn
directories!)Upvotes: 2
Reputation: 16848
Can you create a patch? That way you could do a fresh checkout and apply the patch.
Upvotes: 1