You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gitPython - Pull request url. Once we do git push, is there a way to get the PR url back from the cmd line? I was not able to get any libraries return that. Is this possible? #990
changed the title [-]gitPython - Pull request url. Once we do git push, is there a way to get the PR url back from the cmd line? I was not able to get any libraries return that. Is this possile?[/-][+]gitPython - Pull request url. Once we do git push, is there a way to get the PR url back from the cmd line? I was not able to get any libraries return that. Is this possible?[/+]on Feb 24, 2020
git push origin branch_xxx
Enumerating objects: 13, done.
Counting objects: 100% (13/13), done.
Delta compression using up to 12 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 754 bytes | 754.00 KiB/s, done.
Total 7 (delta 6), reused 0 (delta 0)
remote: Push is OK
remote:
remote: Create pull request for branch_xxx > remote: https://bitbucket.XXX.com/projects/test/repos/monolith/pull-requests?create&sourceBranch=refs/heads/branch_xxx
I hope i have explained myself. The only workaround I currently do is: I fabricate that URL myself within the application. But it will be good if there is a gitPython library which would do so.
I think what you can try is to implement your own progress delegate (search for 'progress') to see if it gets to see the given line of the remote.
Generally GitPython sees all lines sent by the remote and definitely makes all of them available to the delegate. It's probably worth perusing the code to see how exactly it works, and how it is used.
Please feel free to post follow ups on the closed issue.