Issue 304: replication reports "repository not found" when git cannot be found
Status:  Released
Owner:
Closed:  Oct 2012
Reported by nas...@chromium.org, Oct 19, 2009
Affected Version: 2.0.21

What steps will reproduce the problem?
1. set up replication to a host and set 'receivepack' and/or 'uploadpack'
to a non-existent file

What is the expected output?
no expected output

What do you see instead?
2009-10-17 22:13:23,880::ERROR: com.google.gerrit.git.PushReplication  -
Cannot replicate to <user>@host.example.com:/mirror/repo.git; repository
not found

Please provide any additional information below.
Not an application bug, but the error reporting could be improved.
Oct 29, 2009
#1 sop+code@google.com
When the remote command failed we got no output, no output is similar to the case of 
where the command ran, but didn't find a git repository there (it just exits with no 
output at all).  So we mistook it for the same result.

We probably should also look at the exit status, and use that to modify the error 
here.  Unfortunately this is likely an issue inside of JGit and not Gerrit.
Status: Accepted
Labels: Component-JGit
Jan 27, 2010
#3 sop@google.com
Implemented upstream in JGit as http://egit.eclipse.org/r/240
just waiting for it to get approved there.
Status: Started
Labels: Milestone-Next
Jan 27, 2010
#4 sop@google.com
(No comment was entered for this change.)
Owner: s...@google.com
Jan 29, 2010
#5 sop@google.com
Fixed by upgrading JGit in change Icb6252fa549a1814c0334332750552d531fdc0bf
to 0.5.1.140-g660fd39.
Status: Fixed
Labels: -Milestone-Next FixedIn-2.1.2
Oct 21, 2012
#6 sop@google.com
(No comment was entered for this change.)
Status: Released