Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

PullRequestSessionManager.CurrentSession not updated when changing branches #1408

Closed
jcansdale opened this issue Jan 4, 2018 · 0 comments · Fixed by #1422
Closed

PullRequestSessionManager.CurrentSession not updated when changing branches #1408

jcansdale opened this issue Jan 4, 2018 · 0 comments · Fixed by #1422
Labels

Comments

@jcansdale
Copy link
Collaborator

jcansdale commented Jan 4, 2018

  • GitHub Extension for Visual Studio version: 2.3.7 (dev)

When I change to a new PR branch, the PullRequestSessionManager.CurrentSession property is no longer being updated.

I believe this is due to the change in the behavior ofITeamExplorerService.Subscribe. This now only fires when changing to a new repo, not when simply changing branches.

I've tried listening for property changed events on the localRepositoryModel object here:

async Task RepoChanged(ILocalRepositoryModel localRepositoryModel)

But no properties appear to change.

This is related to:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant