NEW 170949
Steps on https://trac.webkit.org/wiki/UsingGitWithWebKit do not work with https remote
https://bugs.webkit.org/show_bug.cgi?id=170949
Summary Steps on https://trac.webkit.org/wiki/UsingGitWithWebKit do not work with htt...
Lucas Forschler
Reported 2017-04-18 09:37:45 PDT
I'm following the steps here, to track an https svn remote. https://trac.webkit.org/wiki/UsingGitWithWebKit 1. git clone https://git.webkit.org/git/WebKit.git WebKit 2. cd WebKit 3. git svn init --prefix=origin/ -T trunk https://svn.webkit.org/repository/webkit # note update to https 4. git config --replace svn-remote.svn.fetch trunk:refs/remotes/origin/master 5. git svn fetch This step proceeds to delete a bunch of things, and then errors out with: Last fetched revision of refs/remotes/origin/master was r215362, but we are about to fetch: r1! rc: 1
Attachments
Lucas Forschler
Comment 1 2017-04-18 09:38:52 PDT
git --version git version 2.11.0 (Apple Git-80)
Lucas Forschler
Comment 2 2017-04-18 09:49:20 PDT
note: these steps seem to work when using http remote... but it then fails with: Bad file descriptor at /Applications/Xcode.app/Contents/Developer/usr/../Library/Perl/5.18/darwin-thread-multi-2level/SVN/Ra.pm line 623. rc: 1
Lucas Forschler
Comment 3 2017-04-18 09:50:12 PDT
r215462 = c011569fefb1647b7f29ec786f8143c3335c466d (refs/remotes/origin/master) Bad file descriptor at /Applications/Xcode.app/Contents/Developer/usr/../Library/Perl/5.18/darwin-thread-multi-2level/SVN/Ra.pm line 623. rc: 1 But, running it again seems to complete... strange. @lforschler-mbp:/Volumes/Data/src/WebKit-test $ git svn fetch A LayoutTests/fast/css-grid-layout/grid-gutters-as-percentage-expected.txt A LayoutTests/fast/css-grid-layout/grid-gutters-as-percentage.html M LayoutTests/fast/css-grid-layout/grid-gutters-get-set-expected.txt M LayoutTests/fast/css-grid-layout/grid-gutters-get-set.html M LayoutTests/ChangeLog M Source/WebCore/css/parser/CSSPropertyParser.cpp M Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp M Source/WebCore/rendering/GridTrackSizingAlgorithm.h M Source/WebCore/rendering/RenderGrid.cpp M Source/WebCore/ChangeLog r215463 = 218bea977ce2e27ba02c472959f8f9b6fd5f4fdc (refs/remotes/origin/master) M LayoutTests/platform/mac-wk1/TestExpectations M LayoutTests/ChangeLog r215464 = 59f5f25ea890844905db1467ba2043e12a3e132b (refs/remotes/origin/master) M Source/WebCore/dom/Document.cpp M Source/WebCore/ChangeLog r215465 = c1f7fc622883ba2419bfd4998b3b11772e019c3b (refs/remotes/origin/master) M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp M Source/JavaScriptCore/ChangeLog r215466 = 430ede9cabcb2750b2ac0e006cf423042bb6c6b2 (refs/remotes/origin/master)
Lucas Forschler
Comment 4 2017-04-18 09:52:34 PDT
still with http remote, git svn rebase then fails: git svn rebase -l Source/ThirdParty/libwebrtc/Source/third_party/jsoncpp/source/makefiles/vs71/jsoncpp.sln: needs update Source/ThirdParty/libwebrtc/Source/third_party/jsoncpp/source/makefiles/vs71/jsontest.vcproj: needs update Source/ThirdParty/libwebrtc/Source/third_party/jsoncpp/source/makefiles/vs71/lib_json.vcproj: needs update Source/ThirdParty/libwebrtc/Source/third_party/jsoncpp/source/makefiles/vs71/test_lib_json.vcproj: needs update update-index --refresh: command returned error: 1 rc: 1
Kocsen Chung
Comment 5 2017-04-18 14:34:52 PDT
The current git remote used for initial cloning (https://git.webkit.org/git/WebKit.git) has the `git-svn-id` set to the http SVN remote. In order to change the SVN remote we need to follow the git-svn equivalent of an svn-switch: https://git.wiki.kernel.org/index.php/GitSvnSwitch This effectively creates a new git-svn repo that points to the https SVN remote. These steps, however, take an outstanding amount of time (days) on most consumer machines. Therefore we need to create this https-tracking git-svn repo and host it.
Note You need to log in before you can comment on or make changes to this bug.