Reset multiple files within revision range

I would like to split a bunch of lines in several versions. For example, I would like to see ac, bc and cc from changelist X in the change list Y.

p4 diff2 a.c@X a.c@Y(where X and Y are change lists) seems to work, but only occasionally. In particular, if ac does not exist in X, I do not get diff. I would like to be able to get diff (although it will be the whole file with the addition) anyway.

To get a larger image: I have several files, after several commits, and I would like to combine the differences between these files in these commits, basically say: "This is the difference from what was changed in this set of files during this set of lists changes "

+3
source share
1

, p4 diff -f ... . p4:

-f diff ,      .      .

(. p4 help diff ).

+1

Source: https://habr.com/ru/post/1749623/


All Articles