Suppose I know a changelist that has some issues with the build. I want to know the previously submitted changelist so that I can sync to it.
I know a way to get it from p4v. I want to know how to get it via the p4 command so that I can add it to the bash script.
Ex. Changelist previous to 553682 is 553642
changelist number is managed by perforce across all the code base so i cannot reduce a number and take it.