Re: Server Name Change: What to Do ?
Gabriel Genellina <[email protected]> Tue, 17 Mar 2015 18:54:06 -0300
| Newsgroups | gmane.comp.version-control.cvs.tortoisecvs.user |
|---|---|
| Organization | SoftLab SRL |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============2623908819609352122== Content-Type: multipart/alternative; boundary="------------010305070002020707090109" This is a multi-part message in MIME format. --------------010305070002020707090109 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable This small Python script may help you with the search&replace: http://pastebin.com/QsB2CdLB El 17/03/2015 a las 18:20, Glen Starrett escibi=F3: > > Hi Robert, > > The sandbox that you are trying to commit is still pointing to the=20 > previous server name. There's a couple ways to resolve this. > > You mentioned one already: Get a fresh checkout, move your changes=20 > over, and commit. Just make sure you don't get any of the CVS control=20 > directories when you're moving the files or the sandbox will be=20 > looking to the previous name again. > > Another is to change the CVS\Root file in every sandbox folder. That=20 > file has a single line, which is the CVSROOT that was used to checkout=20 > the files. If you are comfortable with a find-and-replace-in-files=20 > utility then that can be easy (just be sure you only change the=20 > CVS\Root files). > > Regards, > > *Glen Starrett* > > Technical Account Manager, North America > > March Hare Software, LLC > > http://march-hare.com/cvspro/ > > 800-653-1501 x803 > > *From:*Robert [mailto:[email protected]] > *Sent:* Tuesday, March 17, 2015 11:45 AM > *To:* tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > *Subject:* [TortoiseCVS] Server Name Change: What to Do ? > > Some time ago, Admin changed the server name from devdb01 to devdb01-ol= d > > Now in tortoise "Checkout" I entered the new name:=20 > http://i.imgur.com/4lTgLWz.jpg, check-out works. > > But I have file changes now I want to commit and am getting=20 > "connection failed" error : http://i.imgur.com/zHr89WV.jpg > > 1) How to fix this ? How to have tortoise fully aware of the new name ? > > 2) I did some search and old posts seems to indicate that there's no wa= y. > > So should I save the changed file to a backup spot, delete the=20 > folder(s) and do a checkout and apply the file changes - Is this the=20 > way to go ? > > thanks > > --=20 Gabriel Genellina SoftLab SRL --------------010305070002020707090109 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dwindows-1252" http-equiv=3D"Content-Type"> </head> <body bgcolor=3D"#FFFFFF" text=3D"#000000"> <div class=3D"moz-cite-prefix">This small Python script may help you with the search&replace:<br> <a class=3D"moz-txt-link-freetext" href=3D"http://pastebin.com/QsB2= CdLB">http://pastebin.com/QsB2CdLB</a><br> <br> El 17/03/2015 a las 18:20, Glen Starrett escibi=F3:<br> </div> <blockquote cite=3D"mid:04FBFF37654CB642A67AF3F5A558547A196B14-3GRIkMeZP6zUZLjLai/[email protected]= cal" type=3D"cite"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> <meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D">Hi Robert,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D">The sandbox that you are trying to commit is still pointing to the previous server name.=A0 There's a couple ways to resolve this.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D">You mentioned one already:=A0 Get a fresh checkout, move your changes over, and commit.=A0 Just make sure you don't get any of the CVS control directories when you're moving the files or the sandbox will be looking to the previous name again.<o:= p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D">Another is to change the CVS\Root file in every sandbox folder.=A0 That file has a single line, which is the CVSROOT that was used to checkout the files.=A0 If you are comfortable with a find-and-replace-in-files utility then that can be easy (just be sure you only change the CVS\Root files).<o:p></o:p>= </span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D">Regards,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.5pt;font-family:"Arial","sans-serif&= quot;;color:#1F497D">Glen Starrett<o:p></o:p></span></b></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:"Arial","sans-serif&= quot;;color:#1F497D">Technical Account Manager, North America<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:"Arial","sans-serif&= quot;;color:#1F497D">March Hare Software, LLC<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:"Arial","sans-serif&= quot;;color:#1F497D"><a moz-do-not-send=3D"true" href=3D"http://march-hare.com/cvspro/">http://march-hare.co= m/cvspro/</a><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:"Arial","sans-serif&= quot;;color:#1F497D">800-653-1501 x803<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-seri= f";color:#1F497D"><o:p>=A0</o:p></span></p> <div style=3D"border:none;border-left:solid blue 1.5pt;padding:0i= n 0in 0in 4.0pt"> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"Tahoma","sans-serif= "">From:</span></b><span style=3D"font-size:10.0pt;font-family:"Tahoma","sans-serif= ""> Robert [<a class=3D"moz-txt-link-freetext" href=3D"mail= to:[email protected]">mailto:[email protected]</a>] <br> <b>Sent:</b> Tuesday, March 17, 2015 11:45 AM<br> <b>To:</b> <a class=3D"moz-txt-link-abbreviated" href=3D= "mailto:tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">tortoisecvs-users@lists.= sourceforge.net</a><br> <b>Subject:</b> [TortoiseCVS] Server Name Change: What to Do ?<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> <div> <p class=3D"MsoNormal">Some time ago, Admin changed the serve= r name from devdb01 to devdb01-old<o:p></o:p></p> <div> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> <div> <p class=3D"MsoNormal">Now in tortoise "Checkout" I entered the new name: <a moz-do-not-send=3D"true" href=3D"http://i.imgur.com/4lTgLWz.jpg">http://i.imgu= r.com/4lTgLWz.jpg</a>, check-out works.<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> <div> <p class=3D"MsoNormal">But I have file changes now I want to commit and am getting "connection failed" error :=A0<a moz-do-not-send=3D"true" href=3D"http://i.imgur.com/zHr89WV.jpg">http://i.im= gur.com/zHr89WV.jpg</a><o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">=A0<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">1) How to fix this ? How to have tortoise fully aware of the new name ?=A0<o:p></o:p><= /p> </div> <div> <p class=3D"MsoNormal">2) I did some search and old posts seems to indicate that there's no way.<o:p></o:= p></p> </div> <div> <p class=3D"MsoNormal">=A0 =A0 So should I save the cha= nged file to a backup spot, delete the folder(s) and do a checkout and apply the file changes - Is this the way to go ?<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> </div> <div> <p class=3D"MsoNormal">thanks<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> </div> <br> </div> </div> </div> </div> </div> </blockquote> <br> <pre class=3D"moz-signature" cols=3D"72">--=20 Gabriel Genellina SoftLab SRL </pre> </body> </html> --------------010305070002020707090109-- --===============2623908819609352122== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ --===============2623908819609352122== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ tortoisecvs-users mailing list tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users --===============2623908819609352122==--