-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
On Windows it does not work all the time it seems #134
Comments
I have tested it within Intellij terminal then it does not work ...but when i use VSCode terminal or usual windows terminal then it does work. |
Hi @dkadam77 ! Thanks for your interest and for contributing to make this plugin better ! It seems this issue is not related to the plugin itself but it is more related to the environment which execute it. |
I'm facing a similar issue - It's creating an empty package in VSCode terminal and windows cmd. However, works when using git bash. |
I am not sure what is the difference between the terminals in intellij, VSCode and Win Command prompts. But it is strange that it behaves differently in different orgs. The re-production steps are -
sfdx sgd:source:delta --to HEAD --from HEAD^ --output . for intellij terminal - Failed (created empty package and no source code in output dir) I have one other question; say you have checked-in the code and it has identified the diff between last 2 check-ins but deployment is somehow failed for this. Meanwhile another check-in happened and if I run the command again then it will identify the diff between last 2 check-ins. Is there any way to identify the diff between the last successful deployment check-in (it may have multiple check-ins in between) to the latest check-in so that I should be able to deploy the code from last deploy failure and not just last check-in diff?? Appreciate your response. |
Hi! Thanks for the reproduction steps. $ sfdx sgd:source:delta --to "HEAD" --from "HEAD^" --output .
$ sfdx sgd:source:delta --to "HEAD" --from "HEAD^" --output changed-sources/ --generate-delta To answer your question:
The parameters |
I have the same issue. PowerShell 7.1.3, CMD, Terminal in VSCode. In all of them, I am getting an empty package.xml |
Hello, I tried below and it worked for me. By protecting the parameter from being interpreted by the terminal using double quote it seems to be working in intellij terminal as well. Now I can do it from Windows CMD, VSCode Terminal as well as IntelliJ terminal as well. Thanks. $ sfdx sgd:source:delta --to "HEAD" --from "HEAD^" --output . |
For me this still is not working but this one is working: use HEAD~1 instead of HEAD^ |
Issue verification check :
On Windows ..it generates the empty package file (I mean XML without any objects in it) and none of other options works,
The text was updated successfully, but these errors were encountered: