Re: My mixed revision working copy remains after a 'svn update'
From: <webster.brent_at_rogers.com>
Date: Thu, 1 Sep 2016 19:03:07 +0000 (UTC)
As an amendment, I created one more WC with my 1.8.16 svn client at the original XXX revision. (i.e. prior to the directory deletion and subsequent addition of the svn:externals). I then updated the client to 1.9.4 and ran the 'svn update' where it successfully deleted the directory and then added the svn:externals to overlay the same directory name from another repository. When I ran 'svnversion', it reported back a single revision and not Switched. -- It worked!!!!
So I have a solution, if my users haven't already done a 'svn update' with the older 1.8.xx client. But is there anyway to fix an already updated WC with the svnversion command reports it as a switched mix revision WC? ---- Brent
From: Brent Webster <bedub2011_at_gmail.com>
When we migrated from Clearcase to SVN, all the separate VOBs that made up our product (as well as several other products) were copied into one large repository. The other products are now migrating from Clearcase so we need to emulate some of the common VOB directory structure by moving the contents of these common directories into separate repositories and then use svn:externals across these multiple products to include this common code back into each product.
The problem is the original large repository where we need to delete the contents of these common directories and then add svn:externals to reference the new common code from these other repositories.
The scenarios:
1/ ws0 is where I will perform the deletion of the broadcom 6.3.5 directory, commit it and then add the svn:externals as a 2nd commit.
2/ So ws1 is at revision XXX and 'svn update -r XXX+1' that deletes the broadcom directory and updates the WC successfully.
3/ So ws2 is at revision XXX and a 'svn update' will do both the delete of the existing broadcom directory and then create the new
When I run a subsequent 'svn update', it reports the following:
Fetching external item into 'broadcom/BCM_SDK_6.3.5':
At revision 14012.
Running 'svn cleanup' or 'svn cleanup --include-externals' has no affect.
At this point, I can only recommend the following:
Any better solutions?.
On Tuesday, August 16, 2016 at 3:55:41 PM UTC-4, webste..._at_rogers.com wrote:
[linux] >> svn st -u
Performing status on external item at 'vobs/ots/osm4/Target/ PldImages/lim400g_1':
Performing status on external item at 'vobs/ots/uboot/u-boot-2009. 06':
Performing status on external item at 'vobs/common/cpCommon':
Performing status on external item at 'vobs/common/dclCommon':
Performing status on external item at 'vobs/ots/uboot/u-boot-2013. 01.01':
Performing status on external item at 'vobs/ots/wrlplat/tlab_ xeoncore50':
Performing status on external item at 'vobs/prod':
Performing status on external item at 'vobs/ots/broadcom/BCM_SDK_6. 4.11':
Performing status on external item at 'vobs/ots/osm4/Tests/ framework/tl1probe/mteraiv':
Performing status on external item at 'vobs/ots/osm4/Tests/ framework/tl1probe/mteraiv/ TL1_Library':
Performing status on external item at 'vobs/ots/wrlplat/tlabqoriq50_ small':
Performing status on external item at 'vobs/ots/wrlplat/tlab_ qemuppc':
Performing status on external item at 'vobs/ots/osm4/Apps/HalServer/ Drivers/lim400/Lim400API':
[Linux] >> svnversion
There are two 'uboot' svn:externals pegged at 475 so I deleted the parent directory (i.e. rm -rf vobs/ots/uboot) and did another 'svn update' but that didn't clean it up. The svnversion is still reporting 475:13673S.
|
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.