Issue 1702: 'internal server error' when pushing the same change twice
Status:  Submitted
Owner: ----
Closed:  Dec 2012
Reported by sp3...@gmail.com, Dec 4, 2012
Affected Version: v2.5

Steps to reproduce the problem:
1. prepare single commit that will be pushed

2. initial push:
   $ git push ssh://gerrit:29418/test.git HEAD:refs/for/master

3. second push:
   $ git push ssh://gerrit:29418/test.git HEAD:refs/changes/<number>

On second push of *the same* commit as in initial push gerrit v2.5 returns 'internal server error':

$ git push ssh://gerrit:29418/test.git HEAD:refs/changes/11989
Total 0 (delta 0), reused 0 (delta 0)
remote: Processing changes: refs: 2, done    
To ssh://gerrit:29418/test.git
 ! [remote rejected] HEAD -> refs/changes/11989 (internal server error)
error: failed to push some refs to 'ssh://gerrit:29418/test.git'

It should probably return 'no new changes' or something less scary.

There is no trace in error_log. Nothing is wrong actually apart from that confusing message.
Dec 11, 2012
Project Member #2 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.6