[libcxx-dev] libcxx git svn incantations

Zachary Turner via libcxx-dev libcxx-dev at lists.llvm.org
Tue Jan 8 17:47:03 PST 2019


I’ve been using monorepo on Windows for close to 2 years and git-llvm
script works quite well. (Very) rarely there are issues with mixed line
endings, but it tends to happen on files that are intentionally CRLF. In
any case, I think you can definitely consider monorepo on Windows as
“supported” today
On Tue, Jan 8, 2019 at 5:12 PM Shoaib Meenai <smeenai at fb.com> wrote:

> 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.
>
>
>
> *From: *"Stephan T. Lavavej" <stl at exchange.microsoft.com>
> *Date: *Tuesday, January 8, 2019 at 5:10 PM
> *To: *Shoaib Meenai <smeenai at fb.com>, "libcxx-dev at lists.llvm.org" <
> libcxx-dev at lists.llvm.org>
> *Subject: *RE: [libcxx-dev] libcxx git svn incantations
>
>
>
> 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.
>
>
>
> > It'll still go through svn for committing
>
>
>
> Hmm, I hope this llvm/utils/git-svn/git-llvm script works on Windows.
>
>
>
> I'll wait for the officially official release before attempting to try the
> monorepo workflow.
>
>
>
> Thanks,
>
> STL
>
>
>
> *From:* Shoaib Meenai <smeenai at fb.com>
> *Sent:* Tuesday, January 8, 2019 4:18 PM
> *To:* Stephan T. Lavavej <stl at exchange.microsoft.com>;
> libcxx-dev at lists.llvm.org
> *Subject:* Re: [libcxx-dev] libcxx git svn incantations
>
>
>
> I have the same git-svn config and am able to `git svn fetch`
> successfully, so it might be something specific to your setup.
>
>
>
> A potential alternative would be using the monorepo (
> http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo
> <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=>),
> although you probably want to use the "official" monorepo at
> https://github.com/llvm-git-prototype/llvm
> <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=>
> 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.
>
>
>
> *From: *libcxx-dev <libcxx-dev-bounces at lists.llvm.org> on behalf of
> "Stephan T. Lavavej via libcxx-dev" <libcxx-dev at lists.llvm.org>
> *Reply-To: *"Stephan T. Lavavej" <stl at exchange.microsoft.com>
> *Date: *Tuesday, January 8, 2019 at 2:42 PM
> *To: *"libcxx-dev at lists.llvm.org" <libcxx-dev at lists.llvm.org>
> *Subject: *[libcxx-dev] libcxx git svn incantations
>
>
>
> Hi,
>
>
>
> I'm attempting to set up my libcxx repo again, but the incantations for
> doing so stopped working at some point. I started with
> 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=
> <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=>
> and what I'm specifically doing is:
>
>
>
> C:\Temp\KITTEN>git clone
> 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=
> <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=>
>
> Cloning into 'libcxx'...
>
> remote: Counting objects: 81725, done.
>
> remote: Compressing objects: 100% (24727/24727), done.
>
> remote: Total 81725 (delta 64508), reused 71971 (delta 55513)
>
> Receiving objects: 100% (81725/81725), 14.85 MiB | 12.11 MiB/s, done.
>
> Resolving deltas: 100% (64508/64508), done.
>
> Checking out files: 100% (6774/6774), done.
>
>
>
> C:\Temp\KITTEN>cd libcxx
>
>
>
> C:\Temp\KITTEN\libcxx>git svn init
> 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=
> <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=>
> --username=stl_msft
>
>
>
> C:\Temp\KITTEN\libcxx>git config svn-remote.svn.fetch
> :refs/remotes/origin/master
>
>
>
> C:\Temp\KITTEN\libcxx>git svn rebase -l
>
>
>
> 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.
>
>
>
> 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?
>
>
>
> Note that I am on Windows Server 2016, running the latest version of
> 64-bit git, and these incantations worked for me months ago.
>
>
>
> C:\Temp>git --version
>
> git version 2.20.1.windows.1
>
>
>
> Thanks,
>
> STL
>
> _______________________________________________
>
> libcxx-dev mailing list
>
> libcxx-dev at lists.llvm.org
>
>
> 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=
> <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=>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20190108/8f210cce/attachment-0001.html>


More information about the libcxx-dev mailing list