My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 571: "git fetch" hangs on trying to fetch a fresh/new Gerrit managed Git repository
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by di...@google.com, May 17, 2010
Affected Version: 2.1.2.4

What steps will reproduce the problem?
1. create a new repository on Gerrit (I used "ssh server gerrit create-
project -n "foo/bar/repo" -t FAST_FORWARD_ONLY")
2. try to fetch it in a client, mkdir tmp && cd tmp && git remote add repo 
server:foo/bar/repo && git fetch

What is the expected output? What do you see instead?
Should complete fast with nothing to fetch (I guess) or some kind of error 
(I would expect an error from "clone" because HEAD does not point to valid 
branch but not sure if "fetch" should error). Instead it seems to hang with 
"gerrit show-queue" showing:
9dc48748                       git-upload-pack 'foo/bar/repo' (username)



Please provide any additional information below.
The Gerrit error_log does not seem to be useful, just seems to contain an 
entry for the interrupted operation (because I hit ctrl-c eventually).
May 17, 2010
#1 di...@google.com
In the above "git fetch" command I meant "git fetch repo".
Sign in to add a comment

Powered by Google Project Hosting