| Issue 2087: | Reviewnotes plugin is not able to deal with same commit id pushed into different git repositories. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: gerrit 2.6.1 with review notes plugin. What steps will reproduce the problem? 1. run "ssh gerrit.server reviewnotes export" 2. Notice in error_log errors like that: [2013-08-26 08:38:20,306] ERROR com.googlesource.gerrit.plugins.reviewnotes.CreateReviewNotes : Cannot create review note: more than one patch set found for the commit 375bd926b26772363dec91f6854a5ff07eb3df03 What is the expected output? What do you see instead? Error should not be present. Plugin should take into consideration also target git repository, not only commit ID. Please provide any additional information below. it is normal to have same commit ID with same change ID pushed to different repositories: > select revision, change_id from patch_sets where revision='375bd926b26772363dec91f6854a5ff07eb3df03'; +------------------------------------------+-----------+ | revision | change_id | +------------------------------------------+-----------+ | 375bd926b26772363dec91f6854a5ff07eb3df03 | 1901 | | 375bd926b26772363dec91f6854a5ff07eb3df03 | 1908 | +------------------------------------------+-----------+ 2 rows in set (0.00 sec) > select change_key,dest_project_name,change_id from changes where change_id in (1901,1908); +-------------------------------------------+----------------------------------+-----------+ | change_key | dest_project_name | change_id | +-------------------------------------------+----------------------------------+-----------+ | I375bd926b26772363dec91f6854a5ff07eb3df03 | profile/something/something-demo-config | 1901 | | I375bd926b26772363dec91f6854a5ff07eb3df03 | profile/another/something-demo-config | 1908 | +-------------------------------------------+----------------------------------+-----------+ 2 rows in set (0.00 sec)
Dec 9, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Labels: FixedIn-2.8