Closed GoogleCodeExporter closed 9 years ago
This is something we have encountered with multiple integration branches too.
If a commit is for master, but merged into next, I would not expect the
proposed change to be marked as merged until it is merged into master. We use
merge commits rather than cherry picking, and so the SHA-1s match too, and so
this happens even without the Change-Id lines.
Original comment by mhanw...@gmail.com
on 2 Aug 2010 at 10:11
I saw this the other day on our 2.1.3 server and it caused quite a headache
(especially since it added the new commit as a patchset onto the existing
change).
Original comment by nas...@chromium.org
on 2 Aug 2010 at 10:15
We've seen this on occasion as well. We don't use Change-Id lines... I wonder
if uploading a commit to review on one branch and then direct-pushing the same
commit to a separate branch might also cause this problem?
Original comment by bklarson@gmail.com
on 2 Aug 2010 at 10:38
I can confirm that "uploading a commit to review on one branch and then
direct-pushing the same commit to a separate branch" does cause this problem.
Original comment by mhanw...@gmail.com
on 2 Aug 2010 at 10:43
We also see this happen when we push changes which have a Change-Id line from
another server, like kernel.org, up to our gerrit server.
In addition to closing some changes which weren't actually merged, this causes
folks to get very confusing emails where the commit message and commit contents
are from the kernel change which was pushed but things like change owner match
their gerrit change on a totally different repository on the server.
Original comment by maria.gu...@gmail.com
on 20 Aug 2010 at 5:31
Is there any way to overcome this problem with current versions of Gerrit? A
known solution for example? We use 2.1.6.1 version of Gerrit.
It does cause a lot of problems for us also.
Original comment by jaanek...@gmail.com
on 21 Apr 2011 at 6:03
I've been forced into setting up a mirror repository and keep dev branches out
of gerrit.
Original comment by darksk...@gmail.com
on 21 Apr 2011 at 12:43
This thread http://goo.gl/gXhjG mentions that it might not be hard to patch the
Gerrit to accept same Change-Ids for different branches. As I'm not (yet) taken
a look into the source code myself then I'm not sure thought that is so.
Original comment by jaanek...@gmail.com
on 21 Apr 2011 at 3:13
Did you set up your mirror using the approach described in this link:
http://goo.gl/g8vZZ ?
Original comment by jaanek...@gmail.com
on 21 Apr 2011 at 4:49
Original comment by sop@google.com
on 17 May 2011 at 12:18
Original comment by sop@google.com
on 31 May 2011 at 5:01
Original issue reported on code.google.com by
jjhel...@gmail.com
on 26 Jul 2010 at 2:54