Closed tom-seddon closed 2 years ago
Is it worth a quick, does this file exist locally check before throwing it at P4?
I'm not as familiar with C#, so unsure how often, if ever, there won't also be a projitems file. If it's unexpected then happy to leave as is.
There's already a file exists check as part of AddSelectedFile
, so if it doesn't exist the request will just get ignored: https://github.com/SimpsonGSD/P4EditVS/blob/05aecb0095dd69d508a68ed08bd10b629a9737bf/P4EditVS/Commands.cs#L271
You can tell I've not looked at the code for a while 😄
Thanks for the change
Is it worth a quick, does this file exist locally check before throwing it at P4? I'm not as familiar with C#, so unsure how often, if ever, there won't also be a projitems file?
On Mon, 3 Oct 2022, 18:20 Tom Seddon, @.***> wrote:
Fix #30 https://github.com/SimpsonGSD/P4EditVS/issues/30
You can view, comment on, or merge this pull request online at:
https://github.com/SimpsonGSD/P4EditVS/pull/31 Commit Summary
- 62fbd88 https://github.com/SimpsonGSD/P4EditVS/pull/31/commits/62fbd88d2bea581d02e95367b51a4131c4a5dcf3 Check out .projitems when checking out a .shproj.
File Changes
(3 files https://github.com/SimpsonGSD/P4EditVS/pull/31/files)
- M P4EditVS/Commands.cs https://github.com/SimpsonGSD/P4EditVS/pull/31/files#diff-48f232b0bc7362d7ddf0595265e878b4bb9351e8ccf2099c3ce2605c2e6cbc0f (25)
- M VS2019/source.extension.vsixmanifest https://github.com/SimpsonGSD/P4EditVS/pull/31/files#diff-a3f6642bc7b66c1f71e2e19dbf535c6d9529d47381a84f08f6735fbb6b43ca4d (2)
- M VS2022/source.extension.vsixmanifest https://github.com/SimpsonGSD/P4EditVS/pull/31/files#diff-4598b34c199170164dae77c8b9681d8d30fc61514338df97d48adc915e8bf9f9 (2)
Patch Links:
- https://github.com/SimpsonGSD/P4EditVS/pull/31.patch
- https://github.com/SimpsonGSD/P4EditVS/pull/31.diff
— Reply to this email directly, view it on GitHub https://github.com/SimpsonGSD/P4EditVS/pull/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWL2IY3HLCTU23FD2BW24DWBMIXNANCNFSM6AAAAAAQ3ZNZOY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Fix #30