vscode-perforce icon indicating copy to clipboard operation
vscode-perforce copied to clipboard

Support -I (uppercase i) flag for p4 annotate

Open blingenau opened this issue 4 years ago • 1 comments

Describe the solution you'd like An additional p4 annotate option for following integrations Describe alternatives you've considered The only way to use this currently is with the command line.

blingenau avatar Apr 14 '21 19:04 blingenau

Thanks for raising. I had a very quick look in to this and it's a little involved because:

  • We run a p4 filelog to get the details of the file history, and then match them up to the annotation changelists, but when using -I, the two commands don't match up easily so some we need to run some additional commands to get the details for those changelists. (IIRC I had to solve a similar problem for the file history quick pick - it should be do-able)
  • the -i and -I flags seem to be mutually exclusive so need to think about the structure of the settings - e.g. deprecate the boolean value for followBranches and change it to a multiple choice option

If / when I get some more time to implement this then I'll have another look at it

mjcrouch avatar May 09 '21 11:05 mjcrouch