| Issue 2431: | Download links not working for git-repo project on gerrit-review.googlesource.com | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: What steps will reproduce the problem? 1. Use a download link from an open change on git-repo 2. 3. What is the expected output? What do you see instead? Should be able to fetch the change using the given command, however it fails with "couldn't find remote ref" Please provide any additional information below. Using the command as given from the download link: $ git fetch https://gerrit.googlesource.com/git-repo refs/changes/20/53820/2 && git cherry-pick FETCH_HEAD fatal: Couldn't find remote ref refs/changes/20/53820/2 After changing 'gerrit' to 'gerrit-review' it works: $ git fetch https://gerrit-review.googlesource.com/git-repo refs/changes/20/53820/2 && git cherry-pick FETCH_HEAD remote: Counting objects: 60, done remote: Finding sources: 100% (3/3) remote: Getting sizes: 100% (2/2) remote: Compressing objects: 100% (80164/80164) remote: Total 3 (delta 0), reused 1 (delta 0) Unpacking objects: 100% (3/3), done. From https://gerrit-review.googlesource.com/git-repo * branch refs/changes/20/53820/2 -> FETCH_HEAD [master 8481d04] Skip fetching tags for projects where the manifest specifies a commit id Author: Chris AtLee <chris.atlee@gmail.com> 1 file changed, 18 insertions(+), 12 deletions(-)
Feb 3, 2014
I'm still getting the same error fetching refs/changes/20/53820/2 and also when trying to fetch other changes on git-repo. It works fine for gerrit changes. [sorry for late reply; been out of the office since Weds last week]
Jun 7, 2015
I'm still seeing this problem, and it's only on changes for git-repo. If I try to fetch with the link from the download links tab, it fails. If I change 'gerrit' to 'gerrit-review' it works. Subsequently changing back to 'gerrit' for the same ref does not work.
Jun 12, 2015
Same for me: $ git fetch https://gerrit.googlesource.com/git-repo refs/changes/20/53820/2 && git cherry-pick FETCH_HEAD fatal: Couldn't find remote ref refs/changes/20/53820/2 $ git fetch https://gerrit-review.googlesource.com/git-repo refs/changes/20/53820/2 && git cherry-pick FETCH_HEAD remote: Counting objects: 60, done remote: Finding sources: 100% (3/3) remote: Total 3 (delta 0), reused 1 (delta 0) Unpacking objects: 100% (3/3), done. From https://gerrit-review.googlesource.com/git-repo * branch refs/changes/20/53820/2 -> FETCH_HEAD
Jun 12, 2015
Ugh. This shouldn't happen. We will look into it later today.
Jun 24, 2015
Still getting the same error.
Jun 24, 2015
Yea, I'm not surprised. I didn't actually look at it on Jun 12. :(
Dec 17, 2015
Any update? I'm still getting the same error. |
|
| ► Sign in to add a comment |
Owner: sop@google.com
Cc: -sop@google.com
Labels: Environment-Google