Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension gets confused about which repository to create PR in #3437

Closed
rzhao271 opened this issue Mar 28, 2022 · 2 comments
Closed

Extension gets confused about which repository to create PR in #3437

rzhao271 opened this issue Mar 28, 2022 · 2 comments
Labels
info-needed Issue requires more information from poster

Comments

@rzhao271
Copy link
Contributor

rzhao271 commented Mar 28, 2022

Issue Type: Bug

  1. In the SCM view, press the Create Pull Request icon on the right side of the "source control" navbar.
  2. 🐛 A quickpick comes up, saying "Choose a repository to create a pull request in". Above, in the "source control repositories" section, the current repository I'm in is already listed.

Demo

Edit: What might be happening here is I used the branch for another PR previously. Though, that PR was already merged.

Extension version: 0.39.2022032809
VS Code version: Code - Insiders 1.66.0-insider (c63ed49b4b164210301f4f8a09079aa4de53b870, 2022-03-25T14:30:54.397Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) undefined
Memory (System) 31.59GB (16.06GB free)
Process Argv --log trace --crash-reporter-id 504c9256-58c2-451f-8cc0-983584dae98d
Screen Reader no
VM 0%
@alexr00
Copy link
Member

alexr00 commented Apr 6, 2022

Above, in the "source control repositories" section, the current repository I'm in is already listed.

GHPRI doesn't use the selection in the "Source Control Repositories" view for anything (in fact I think knowing which repo is selected there is deprecated git extension API).

Is this in a multi-root workspace? It doesn't look like you have multiple git repos open...

@rzhao271
Copy link
Contributor Author

rzhao271 commented Dec 7, 2022

Unable to repro now

@rzhao271 rzhao271 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants