<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (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:Verdana;
        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:11.0pt;
        font-family:"Calibri",sans-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;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Verdana",serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I believe a bunch of the Chromium LLVM developers use the monorepo, so I would expect the script to work on Windows. Adding Zach to confirm.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">"Stephan T. Lavavej" <stl@exchange.microsoft.com><br>
<b>Date: </b>Tuesday, January 8, 2019 at 5:10 PM<br>
<b>To: </b>Shoaib Meenai <smeenai@fb.com>, "libcxx-dev@lists.llvm.org" <libcxx-dev@lists.llvm.org><br>
<b>Subject: </b>RE: [libcxx-dev] libcxx git svn incantations<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif">I've determined that this is a regression between git 2.20.0.windows.1 and 2.20.1.windows.1. I can revert to 2.20.0 and report this upstream.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif">> It'll still go through svn for committing</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif">Hmm, I hope this llvm/utils/git-svn/git-llvm script works on Windows.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif">I'll wait for the officially official release before attempting to try the monorepo workflow.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif">STL</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Verdana",serif"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b>From:</b> Shoaib Meenai <smeenai@fb.com>
<br>
<b>Sent:</b> Tuesday, January 8, 2019 4:18 PM<br>
<b>To:</b> Stephan T. Lavavej <stl@exchange.microsoft.com>; libcxx-dev@lists.llvm.org<br>
<b>Subject:</b> Re: [libcxx-dev] libcxx git svn incantations<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I have the same git-svn config and am able to `git svn fetch` successfully, so it might be something specific to your setup.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">A potential alternative would be using the monorepo (<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fllvm.org-252Fdocs-252FGettingStarted.html-2523for-2Ddevelopers-2Dto-2Dwork-2Dwith-2Da-2Dgit-2Dmonorepo-26data-3D02-257C01-257Cstl-2540exchange.microsoft.com-257C79de701ed73c46ae1c4308d675c7e694-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636825898778708868-26sdata-3Dk26BSca33aE508Eb9skcIvk-252BXAaUtldHqKbqO0Z7sQc-253D-26reserved-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gEFQCcEzZDb4nJOAXiyJOtlDP4qT1Wn6KncwA_vVoEs&s=Ue40-aCd0UAqyFilc7Fsz701oOwRQYeKFoVV6zp9rxo&e=">http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo</a>),
 although you probably want to use the "official" monorepo at <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fllvm-2Dgit-2Dprototype-252Fllvm-26data-3D02-257C01-257Cstl-2540exchange.microsoft.com-257C79de701ed73c46ae1c4308d675c7e694-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636825898778718877-26sdata-3DSo9Ig6OiqyjPA-252FGVPbo0xnNqYb6RvjU5yYTdWOijss4-253D-26reserved-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gEFQCcEzZDb4nJOAXiyJOtlDP4qT1Wn6KncwA_vVoEs&s=BfWpHfq0JO_cuGF8IBh-7zwWdY96K8McMnuAQvRgmY0&e=">
https://github.com/llvm-git-prototype/llvm</a> instead (it should be moved over to the LLVM organization on GitHub in a few days, at which point it'll officially be official, but I think the actual repository itself will remain unchanged at this point). The
 long-term plan is to move all LLVM development to the monorepo, so it might be best to just transition over your workflow right now? It'll still go through svn for committing, but TortoiseSVN has worked well for me on Windows in the past.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">libcxx-dev <<a href="mailto:libcxx-dev-bounces@lists.llvm.org">libcxx-dev-bounces@lists.llvm.org</a>> on behalf of "Stephan T. Lavavej via libcxx-dev" <<a href="mailto:libcxx-dev@lists.llvm.org">libcxx-dev@lists.llvm.org</a>><br>
<b>Reply-To: </b>"Stephan T. Lavavej" <<a href="mailto:stl@exchange.microsoft.com">stl@exchange.microsoft.com</a>><br>
<b>Date: </b>Tuesday, January 8, 2019 at 2:42 PM<br>
<b>To: </b>"<a href="mailto:libcxx-dev@lists.llvm.org">libcxx-dev@lists.llvm.org</a>" <<a href="mailto:libcxx-dev@lists.llvm.org">libcxx-dev@lists.llvm.org</a>><br>
<b>Subject: </b>[libcxx-dev] libcxx git svn incantations</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">I'm attempting to set up my libcxx repo again, but the incantations for doing so stopped working at some point. I started with
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fllvm.org-5Fdocs-5FGettingStarted.html-2D23for-2D2Ddevelopers-2D2Dto-2D2Dwork-2D2Dwith-2D2Dgit-2D2Dsvn-2526d-253DDwIGaQ-2526c-253D5VD0RTtNlTh3ycd41b3MUw-2526r-253Do3kDXzdBUE3ljQXKeTWOMw-2526m-253DXUaPDRoyu-5Ff-5F59uKyM6RpZWBkBCyxFfDxh-5FpXRVf4JE-2526s-253DAHXsXdSy1eRPWbBD4kNpA4r-2DZPgSLlhO1O4-5FFRMfyfw-2526e-253D-26data-3D02-257C01-257Cstl-2540exchange.microsoft.com-257C79de701ed73c46ae1c4308d675c7e694-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636825898778728885-26sdata-3Dwopt8UWi0r-252B54EZlRC6qCxh3vgCLM74maC06QDSa7tA-253D-26reserved-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gEFQCcEzZDb4nJOAXiyJOtlDP4qT1Wn6KncwA_vVoEs&s=fcdg5V43TfPRQpZhk-69YSIUU6R4puk8Yk7oqBZD5LQ&e=">
https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_docs_GettingStarted.html-23for-2Ddevelopers-2Dto-2Dwork-2Dwith-2Dgit-2Dsvn&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=XUaPDRoyu_f_59uKyM6RpZWBkBCyxFfDxh_pXRVf4JE&s=AHXsXdSy1eRPWbBD4kNpA4r-ZPgSLlhO1O4_FRMfyfw&e=</a>
 and what I'm specifically doing is:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">C:\Temp\KITTEN>git clone <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fgit.llvm.org-5Fgit-5Flibcxx.git-2526d-253DDwIGaQ-2526c-253D5VD0RTtNlTh3ycd41b3MUw-2526r-253Do3kDXzdBUE3ljQXKeTWOMw-2526m-253DXUaPDRoyu-5Ff-5F59uKyM6RpZWBkBCyxFfDxh-5FpXRVf4JE-2526s-253D42T6lO4wNAprheuiiq8I6kYp6lSuSu-2DqgZiAxSzd89w-2526e-253D-26data-3D02-257C01-257Cstl-2540exchange.microsoft.com-257C79de701ed73c46ae1c4308d675c7e694-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636825898778728885-26sdata-3D2cyJDu8MJjtG4Rio0-252BmfYwCk7AZtVoX2dLrYvVIXLkg-253D-26reserved-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gEFQCcEzZDb4nJOAXiyJOtlDP4qT1Wn6KncwA_vVoEs&s=GnajwPtu5kyL2kDc7pWXaOH4nQ76w5LbdeXGLxGXNTo&e=">
https://urldefense.proofpoint.com/v2/url?u=https-3A__git.llvm.org_git_libcxx.git&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=XUaPDRoyu_f_59uKyM6RpZWBkBCyxFfDxh_pXRVf4JE&s=42T6lO4wNAprheuiiq8I6kYp6lSuSu-qgZiAxSzd89w&e=</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Cloning into 'libcxx'...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">remote: Counting objects: 81725, done.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">remote: Compressing objects: 100% (24727/24727), done.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">remote: Total 81725 (delta 64508), reused 71971 (delta 55513)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Receiving objects: 100% (81725/81725), 14.85 MiB | 12.11 MiB/s, done.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Resolving deltas: 100% (64508/64508), done.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Checking out files: 100% (6774/6774), done.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">C:\Temp\KITTEN>cd libcxx<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">C:\Temp\KITTEN\libcxx>git svn init
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fllvm.org-5Fsvn-5Fllvm-2D2Dproject-5Flibcxx-5Ftrunk-2526d-253DDwIGaQ-2526c-253D5VD0RTtNlTh3ycd41b3MUw-2526r-253Do3kDXzdBUE3ljQXKeTWOMw-2526m-253DXUaPDRoyu-5Ff-5F59uKyM6RpZWBkBCyxFfDxh-5FpXRVf4JE-2526s-253D9eFRJyqSvVcSmN-2DMjpWQYgK3Vg3NOtpSP-5FKKViyIytc-2526e-253D-26data-3D02-257C01-257Cstl-2540exchange.microsoft.com-257C79de701ed73c46ae1c4308d675c7e694-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636825898778738898-26sdata-3DCAm4HKRL-252BHGBOnnbdBo7K7PtpBI6W9LYv5V7dDHPHTA-253D-26reserved-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gEFQCcEzZDb4nJOAXiyJOtlDP4qT1Wn6KncwA_vVoEs&s=CqEaRHciRJUsloq0haXKUnJb7kqTnQ0pnCgllFx8r6k&e=">
https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_svn_llvm-2Dproject_libcxx_trunk&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=XUaPDRoyu_f_59uKyM6RpZWBkBCyxFfDxh_pXRVf4JE&s=9eFRJyqSvVcSmN-MjpWQYgK3Vg3NOtpSP_KKViyIytc&e=</a> --username=stl_msft<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">C:\Temp\KITTEN\libcxx>git config svn-remote.svn.fetch :refs/remotes/origin/master<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">C:\Temp\KITTEN\libcxx>git svn rebase -l<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">At this point, "git svn" hangs. (I see that perl.exe is consuming an entire CPU with nothing else happening.) IIRC, this command is supposed to (slowly) print out a bunch of revision numbers as it works. If I instead
 run "git svn fetch", it also hangs.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Should I be running different commands? Is a server down or misconfigured? Is "git svn" broken? Is libcxx done with svn and finally using git directly?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Note that I am on Windows Server 2016, running the latest version of 64-bit git, and these incantations worked for me months ago.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">C:\Temp>git --version<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">git version 2.20.1.windows.1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">STL<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">libcxx-dev mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><a href="mailto:libcxx-dev@lists.llvm.org">libcxx-dev@lists.llvm.org</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Flists.llvm.org-5Fcgi-2D2Dbin-5Fmailman-5Flistinfo-5Flibcxx-2D2Ddev-2526d-253DDwIGaQ-2526c-253D5VD0RTtNlTh3ycd41b3MUw-2526r-253Do3kDXzdBUE3ljQXKeTWOMw-2526m-253DXUaPDRoyu-5Ff-5F59uKyM6RpZWBkBCyxFfDxh-5FpXRVf4JE-2526s-253Dp7uIKoIrUE9kEBNKMRc4VqmGu93USNuxHcbG0WNFR0g-2526e-253D-26data-3D02-257C01-257Cstl-2540exchange.microsoft.com-257C79de701ed73c46ae1c4308d675c7e694-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C636825898778748898-26sdata-3DEsCVnqz80yGl7QXvpPQjG1vWYXW1uqrwb6MzOP9am1Y-253D-26reserved-3D0&d=DwMGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=gEFQCcEzZDb4nJOAXiyJOtlDP4qT1Wn6KncwA_vVoEs&s=xViWIfSzrCWLA-J9nPOAZHxd9-TQEUO1v8GcDTu7bBU&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.llvm.org_cgi-2Dbin_mailman_listinfo_libcxx-2Ddev&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=XUaPDRoyu_f_59uKyM6RpZWBkBCyxFfDxh_pXRVf4JE&s=p7uIKoIrUE9kEBNKMRc4VqmGu93USNuxHcbG0WNFR0g&e=</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
</div>
</body>
</html>