Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338384

Summary: Configured push ref specifications are not shown in configure push dialog
Product: [Technology] EGit Reporter: Edwin Kempin <edwin.kempin>
Component: UIAssignee: Matthias Sohn <matthias.sohn>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: stefan.lay
Version: 0.12   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Edwin Kempin CLA 2011-02-28 04:59:31 EST
Steps to reproduce:
1. clone a repository
2. create a new local branch 'test'
3. in the 'Repositories View' open the context menu on <your repository> -> 'Remotes' -> 'origin' and choose 'Configure Push...'
4. add a new push URL for ssh if cloning was not done over ssh
5. click 'Next'
6. add the following 2 push ref specifications
   refs/heads/master:refs/heads/master
   refs/heads/test:refs/for/test
7. confirm the dialog by clicking on 'Finish'
8. in the 'Repositories View' open the context menu on <your repository> and choose 'open Properties Views'
9. see that 'remotes.origin.push' is correctly set to '[refs/heads/master:refs/heads/master][refs/heads/test:refs/for/test]'
10. in the 'Repositories View' open the context menu on <your repository> -> 'Remotes' -> 'origin' -> <push specification> and choose 'Configure Push...'
11. click 'Next'
12. see that no push ref specifications are shown in the dialog

What was expected?
It was expected that the previously configured push ref specifications
 refs/heads/master:refs/heads/master
 refs/heads/test:refs/for/test
would be shown in this dialog.
Comment 1 Andrew Gvozdev CLA 2011-02-28 10:31:48 EST
Same about configure fetch dialog.
Comment 2 Matthias Sohn CLA 2011-03-24 22:16:53 EDT
merged as 0c1c9e4488759194d0b6bf0ec2defe29b2ee6784