Bug 549950 - Repositories view not updating with branch names
Summary: Repositories view not updating with branch names
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 5.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-09 18:29 EDT by David M. Karr CLA
Modified: 2019-08-09 18:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Karr CLA 2019-08-09 18:29:14 EDT
In the repositories view, each line shows the repository name, followed by the current branch in brackets, followed by the absolute path to the repository.

There have been times that it was slow for each entry to change the current branch, for instance if I had changed the branch and then immediately did a pull.  In that case, the branch name wouldn't update until the pull completed.

However, I'm now seeing that the branch name stays wrong for much longer, perhaps not changing at all anymore.

In my current test case, I had set one repo to a new pull request branch that I just created.  I saw the change in the entry.  Later in the day I switched back to the master branch on that repo.

Now, perhaps ten minutes after I changed back to master, the entry in the row still has the old pull request branch.  In fact, if I select the "Switch To" menu item on the context menu for the repository, the "master" row is greyed out, demonstrating that that is the current branch.

I've tried pressing F5 and clicking the refresh icon in the repositories view.  No change.  I tried looking in the error log.  I didn't see anything significant there.

At that point, I then created another pull request branch, and it is STILL not updating the branch name in the list row.