Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAE3CFD2F for ; Wed, 1 May 2013 15:02:26 +0000 (UTC) Received: (qmail 90163 invoked by uid 500); 1 May 2013 15:02:26 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 90084 invoked by uid 500); 1 May 2013 15:02:25 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 90075 invoked by uid 99); 1 May 2013 15:02:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 15:02:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.229.46] (HELO nm31-vm6.bullet.mail.ne1.yahoo.com) (98.138.229.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 15:02:17 +0000 Received: from [98.138.90.55] by nm31.bullet.mail.ne1.yahoo.com with NNFMP; 01 May 2013 15:01:55 -0000 Received: from [98.138.226.166] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 01 May 2013 15:01:55 -0000 Received: from [127.0.0.1] by omp1067.mail.ne1.yahoo.com with NNFMP; 01 May 2013 15:01:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 20746.24279.bm@omp1067.mail.ne1.yahoo.com Received: (qmail 64191 invoked by uid 60001); 1 May 2013 15:01:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1367420514; bh=Q3u8ieDL3nekefWKjLsGP+D59NNvifIidY44UC2kaQQ=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=JpNj6XOej5Z9UYZt+WxSUBSOtKGxoo2EAhEngB9eDD1IK4rOgJqXCS0qbWH01EnyiYFSqSCUVJe0MS1GB07+icem2jL5wAvVYRUIcrKWJaOIzaj9OabYBHLk5LiXyXiKfaAs4H7WnMpF2fvcg0+OzNF//n1olVKku4wa2/RqF5c= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=NP8mi3bwAzeTH09Q4uaQdG2LGfkVkRJ16tsTarLeMrhVhiIE9wrHesKZhqheCtf3xrsQrqPEBHkvnZj4AYDR/CxxKJfNgsmCI0VdQ2GI3dZxXE8Baxwh69UyrIXHODY2e6h4It7mVWk/rCN4Wn0hL+UXkGWoT0dhqf/TwuPAfEM=; X-YMail-OSG: MKTQrSkVM1k5jVa8SSf_kUl9L_iOUK61BAfOI2uHDLsJDBs l3mcb.RlgU_Vowz0VzRx80livPsDXcrcS.mf0W_aLbvyRbB8MC9YbL9Eo.px EohEr6n8jdqS4G2zf92Jlyb4I0_OdOi6kIfaPp4eaagOozwAuabXZVvVAHdT FqNucVgLKA9HXdc1gFfN5677nF0XVizX9UWgt9mtXb9cy3K_2yvy0sG3Xvz9 7F7M2iYtRwZ4lipjzjmfM60EEMUNnQJgsYJIOGd67xOMsypwcQyFKRaD76D7 6qCEN_iV5JZbAV1zYkDJhV2uRfZpceIYR9CkLvY5XfeCXYDjLL9QirGy7iP4 KOD.YKzOfl0PdroRoEgejVKl.ZLfoVeDHnnMVl9eJ1MLZJPltm5W2gSv0GvV FgMSXm8N1Z6roppD1Q4ILt6pFC8h3Qc0_n1ZWzpUmSh3iXSQDuy8xaZEwKV_ 6fGbu11mCVhHpsP6i_7r9aMhp86DhV26QW_GIxO605_Ai9vlNJXgcbV5e88a RZ_bLBbmXETmVZF2_o9X_3Q-- Received: from [12.52.185.66] by web126201.mail.ne1.yahoo.com via HTTP; Wed, 01 May 2013 08:01:54 PDT X-Rocket-MIMEInfo: 002.001,V2hpbGUgSSBoYXZlIG5vdCBoYWQgdGhlIGlzc3VlIHlvdSBhcmUgaGF2aW5nLCBhc3N1bWluZyB0aGUgZXh0ZXJuYWxzIGFyZSBpbiB0aGUgc2FtZSByZXBvc2l0b3J5IEkgd291bGQgaGlnaGx5IHJlY29tbWVuZCBjaGFuZ2luZyBmcm9tIHVzaW5nIHRoZSBzeW50YXggeW91IGhhdmUgdG8gdXNpbmcgdGhlIGNhcnJvdCAoXikgb3BlcmF0b3IgYXMgaXQgd2lsbCBzYXZlIHlvdSBtYW55IGhlYWRhY2hlcyBpZiB5b3VyIG9yaWdpbmFsIHN2biBsb2NhdGlvbiBjaGFuZ2VzLgoKSS5lLiB1c2U6CgpeL0ZPTERFUl8BMAEBAQE- X-Mailer: YahooMailWebService/0.8.141.536 References: <1E87E55FF4696A478C8042989CA8DE9904B95264@CARACALS455.caracal01.greenstream.priv> Message-ID: <1367420514.62816.YahooMailNeo@web126201.mail.ne1.yahoo.com> Date: Wed, 1 May 2013 08:01:54 -0700 (PDT) From: BRM Reply-To: BRM Subject: Re: SVN Externals 1.6 to 1.7 migration issue To: "Hutchinson, Steve \(UK\)" , "users@subversion.apache.org" In-Reply-To: <1E87E55FF4696A478C8042989CA8DE9904B95264@CARACALS455.caracal01.greenstream.priv> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-606767240-1491997411-1367420514=:62816" X-Virus-Checked: Checked by ClamAV on apache.org ---606767240-1491997411-1367420514=:62816 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable While I have not had the issue you are having, assuming the externals are i= n the same repository I would highly recommend changing from using the synt= ax you have to using the carrot (^) operator as it will save you many heada= ches if your original svn location changes.=0A=0AI.e. use:=0A=0A^/FOLDER_A = FOLDER_C=0A^/FOLDER_B FOLDER_D=0A=0AAlso, I think the specific issue you ar= e having (looking more closely at the error message below) is that AFAIK, S= VN does not let you import specific files via externals - you have to do na= me spaces (aka folders) instead.=0A=0AI would suggest doing one of two thin= gs in a batch file that gets run after checkout (manually by the user, thou= gh TSVN may be able to give you some automatic client-side scripting):=0A= =0A1. Use "mklink" to create an NTFS file link after the checkout for the f= ile you are trying to relocate.=0A2. Copy the file from the one directory t= o the other=0A=0A=0AOr=0A=0A3. Copy the file as part of the SVN source tree= to the other folder; but you'll also have to continuously merge the change= s back and forth.=0A=0A#1 is your best option if you want to not change any= thing at all, but requires that you are running a newer version of Windows = than Windows XP. I think Microsoft first started providing the "mklink" uti= lity with Vista; but it could be WIn7, and might also depend on which editi= on of each of those you have as well. (e.g. it might not be in the Home Pre= mium version, but might be in Pro and Ultimate).=0A=0A#2 is an okay backup = if you can't do #1, but you'll need to treat the file as read-only as it wi= ll certainly be very much manual effort to maintain.=0A=0A#3 is automatic, = but you'd have to ensure the file matches what is at its origin - a bit of = a manual effort, but easy to do.=0A=0A$0.02=0A=0ABen=0A=0A=0A=0A=0A>_______= _________________________=0A> From: "Hutchinson, Steve (UK)" =0A>To: "users@subversion.apache.org" =0A>Sent: Wednesday, May 1, 2013 7:01 AM=0A>Subject: SVN Ext= ernals 1.6 to 1.7 migration issue=0A> =0A>=0A>Hi,=0A>=0A>We're been using 1= .6 svn externals to manage a FW task.=0A>=0A>In the repository we have a fo= lder structure (which is pretty much defined by the tools we are using) as = below :-=0A>=0A>FOLDER A -> file_a1.txt, file_a2.txt, file_a3.txt=0A>FOLDER= B -> file_b1.txt, file_b2.txt, file_b3.txt=0A>=0A>Then using externals we = link to those folder to create a WC PROJECT structure that looks like :-=0A= >=0A>PROJECT -> FOLDER C ->=A0 file_a1.txt, file_a2.txt, file_a3.txt AND=A0= file_b1.txt=0A>PROJECT -> FOLDER D ->=A0 file_b1.txt, file_b2.txt, file_b3= .txt=0A>=0A>The externals on PROJECT FOLDER we used looked like (not actual= ly using file protocol, just created for example purposes) :-=0A>=0A>file:/= //D:/FPGA/SVN_ISSUE/repo/FOLDER_A FOLDER_C=0A>file:///D:/FPGA/SVN_ISSUE/rep= o/FOLDER_B FOLDER_D=0A>file:///D:/FPGA/SVN_ISSUE/repo/FOLDER_B/file_b1.txt = FOLDER_C/file_b1.txt=0A>=0A>Worked ok with 1.6. We get the below error in 1= .7 when updating of :-=0A>=0A>External failed:=A0=A0=A0 D:\FPGA\SVN_ISSUE\= PROJECT\FOLDER_C\file_b1.txt=A0 =0A>Error: =A0=A0=A0 =A0=A0=A0 Cannot inser= t a file external defined on 'D:\FPGA\SVN_ISSUE\PROJECT' into the=A0 =0A>Er= ror:=A0 =A0=A0=A0 =A0=A0=A0 working copy 'D:\FPGA\SVN_ISSUE\PROJECT\FOLDER_= C'.=A0 =0A>=0A>We have tried a few things (will not share all at this point= due to info overload), but wondered if there were any others that achieve = something like this with 1.7 or could offer some advise ?=0A>=0A>Thanks for= any help.=0A>=0A>Regards=0A>Steve H=0A>=0A>*******************************= *************************************=0A>This email and any attachments are= confidential to the intended recipient and may also be privileged. If you = are not the intended recipient please delete it from your system and notify= the sender. You should not copy it or use it for any purpose nor disclose = or distribute its contents to any other person. =0A>=0A>MBDA UK Limited, a = company registered in England and Wales, registration number 3144919 whose = registered office is at Six Hills Way, Stevenage, Hertfordshire, SG1 2DA, E= ngland.=0A>=0A>************************************************************= ********=0A>=0A>=0A> ---606767240-1491997411-1367420514=:62816 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
While I ha= ve not had the issue you are having, assuming the externals are in the same= repository I would highly recommend changing from using the syntax you hav= e to using the carrot (^) operator as it will save you many headaches if yo= ur original svn location changes.

<= div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: times new r= oman,new york,times,serif; background-color: transparent; font-style: norma= l;">I.e. use:

^/FOLDER_A FOLDER_C
^/FOLDER_B FOLDER_D

Also, I think the specific is= sue you are having (looking more closely at the error message below) is tha= t AFAIK, SVN does not let you import specific files via externals - you hav= e to do name spaces (aka folders) instead.

I would suggest doing one of two things in a batch file = that gets run after checkout (manually by the user, though TSVN may be able= to give you some automatic client-side scripting):

<= span>
1. Use "mklink" to create an NTFS file link af= ter the checkout for the file you are trying to relocate.
2. Copy the file from the one directory to the other

Or

3. Copy the file as part of the SVN source tree to the other folder; but you'll also have to continuously merge the changes back = and forth.

#1 is your be= st option if you want to not change anything at all, but requires that you = are running a newer version of Windows than Windows XP. I think Microsoft f= irst started providing the "mklink" utility with Vista; but it could be WIn= 7, and might also depend on which edition of each of those you have as well= . (e.g. it might not be in the Home Premium version, but might be in Pro an= d Ultimate).

#2 is = an okay backup if you can't do #1, but you'll need to treat the file as rea= d-only as it will certainly be very much manual effort to maintain.<= /div>

#3 is automatic, but you'd have= to ensure the file matches what is at its origin - a bit of a manual effor= t, but easy to do.

$0.02<= /span>

Ben


From: "Hutchinson, Steve (UK)" <= steven.hutchinson@mbda-systems.com>
To: "users@subversion.apache.org" <users@subversion.apa= che.org>
Sent: Wed= nesday, May 1, 2013 7:01 AM
Subje= ct: SVN Externals 1.6 to 1.7 migration issue
=

Hi,

We're been using 1.6 svn exte= rnals to manage a FW task.

In the repository we have a folder struct= ure (which is pretty much defined by the tools we are using) as below :-
FOLDER A -> file_a1.txt, file_a2.txt, file_a3.txt
FOLDER B ->= file_b1.txt, file_b2.txt, file_b3.txt

Then using externals we link = to those folder to create a WC PROJECT structure that looks like :-

= PROJECT -> FOLDER C ->  file_a1.txt, file_a2.txt, file_a3.txt AND  file_b1.txt
PROJECT -> FOLDER D ->  file_b1.txt, f= ile_b2.txt, file_b3.txt

The externals on PROJECT FOLDER we used look= ed like (not actually using file protocol, just created for example purpose= s) :-

file:///D:/FPGA/SVN_ISSUE/repo/FOLDER_A FOLDER_C
file:///D:= /FPGA/SVN_ISSUE/repo/FOLDER_B FOLDER_D
file:///D:/FPGA/SVN_ISSUE/repo/FO= LDER_B/file_b1.txt FOLDER_C/file_b1.txt

Worked ok with 1.6. We get t= he below error in 1.7 when updating of :-

External failed: &nbs= p;  D:\FPGA\SVN_ISSUE\PROJECT\FOLDER_C\file_b1.txt 
Error: &= nbsp;       Cannot insert a file external defined = on 'D:\FPGA\SVN_ISSUE\PROJECT' into the 
Error:    =       working copy 'D:\FPGA\SVN_ISSUE\PROJECT\FOLDER_C'= . 

We have tried a few things (will not share all at this poin= t due to info overload), but wondered if there were any others that achieve something like this with 1.7 or could offer some advise ?

T= hanks for any help.

Regards
Steve H

**********************= **********************************************
This email and any attach= ments are confidential to the intended recipient and may also be privileged= . If you are not the intended recipient please delete it from your system a= nd notify the sender. You should not copy it or use it for any purpose nor = disclose or distribute its contents to any other person.

MBDA UK Li= mited, a company registered in England and Wales, registration number 31449= 19 whose registered office is at Six Hills Way, Stevenage, Hertfordshire, S= G1 2DA, England.

***************************************************= *****************


---606767240-1491997411-1367420514=:62816--