Posh-GitHub icon indicating copy to clipboard operation
Posh-GitHub copied to clipboard

New-GitHubPullRequest dies sometimes

Open Iristyle opened this issue 11 years ago • 0 comments

D:\Users\Parity\Documents\source\Osiris\app\js [jenkins-test-timestamper-plugin-intentionally-busted-code]> New-GitHubPullRequest -Title 'DO NOT PULL - Testing Jenkins Timestamper Plugin'
The variable cannot be validated because the value
Iristyle:jenkins-test-timestamper-plugin-intentionally-busted-code is not a valid value for the Head
variable.
At D:\Users\Parity\Documents\WindowsPowerShell\Modules\Posh-GitHub\Posh-GitHub.psm1:406 char:30
+     $Head = "$($localUser):$($branchName)"
+                              ~~~~~~~~~~~
    + CategoryInfo          : MetadataError: (:) [], ValidationMetadataException
    + FullyQualifiedErrorId : ValidateSetFailure

fatal: You are pushing to remote 'origin', which is not the upstream of
your current branch 'jenkins-test-timestamper-plugin-intentionally-busted-code', without telling me what to push
to update which remote branch.
Sending pull request to EastPoint/Osiris from
New-GitHubPullRequest : An unexpected error occurred
At line:1 char:1
+ New-GitHubPullRequest -Title 'DO NOT PULL - Testing Jenkins Timestamper Plugin'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-GitHubPullRequest

Iristyle avatar May 19 '13 22:05 Iristyle