Bug 235360 - git-webkit pr created an extra branch
Summary: git-webkit pr created an extra branch
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
Keywords: InRadar
Depends on:
Reported: 2022-01-19 06:11 PST by Aakash Jain
Modified: 2022-01-26 06:12 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2022-01-19 06:11:50 PST
I run 'git-webkit pr' and let it create a branch. But then it created two branches instead of one: eng/235355 and eng/235355-1. If 'git-webkit pr' created the first branch, there isn't any need to create the second branch, that too in the same invocation of 'git-webkit pr' 

Here is the complete output:

[ews-build]$git-webkit pr
Branch name: eng/235355 
Switched to a new branch 'eng/235355'
Created the local development branch 'eng/235355'!
  Running status to find changed, added, or removed files.
  Reviewing diff to determine which lines changed.
  Extracting affected function names from source files.
  Change author: Aakash Jain <aakash_jain@apple.com>.
[eng/235355 71e41ea12ea1] [ews] Improve support for required changes for ews uat instance https://bugs.webkit.org/show_bug.cgi?id=235355
 Date: Wed Jan 19 08:45:05 2022 -0500
 4 files changed, 10 insertions(+), 6 deletions(-)
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 25 (delta 21), reused 23 (delta 19), pack-reused 0
Unpacking objects: 100% (25/25), 3.87 KiB | 27.00 KiB/s, done.
From github.com:WebKit/WebKit
 * branch                      main       -> FETCH_HEAD
   c26889f28070..0443a58da583  main       -> origin/main
Successfully rebased and updated refs/heads/eng/235355.
From github.com:WebKit/WebKit
   c26889f28070..0443a58da583  main       -> main
Rewrite d0d0823f9ecff82ad80a8e25fb090026d2406dd5 (1/1) (0 seconds passed, remaining 0 predicted)    
WARNING: Ref 'refs/remotes/origin/main' is unchanged
Ref 'refs/heads/eng/235355' was rewritten
Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 10 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 1.27 KiB | 433.00 KiB/s, done.
Total 9 (delta 8), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (8/8), completed with 8 local objects.
remote: Create a pull request for 'eng/235355' on GitHub by visiting:
remote:      https://github.com/jain-aakash/WebKit/pull/new/eng/235355
To github.com:jain-aakash/WebKit.git
 * [new branch]                eng/235355 -> eng/235355
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Create a pull request for 'eng/235355-1' on GitHub by visiting:
remote:      https://github.com/jain-aakash/WebKit/pull/new/eng/235355-1
To github.com:jain-aakash/WebKit.git
 * [new branch]                eng/235355-1 -> eng/235355-1
Created 'PR 77 | [ews] Improve support for required changes for ews uat instance'!
Comment 1 Radar WebKit Bug Importer 2022-01-26 06:12:16 PST