I am working on a perforce client plug-in and need help to get the changed line numbers. I have been able to get the change list and all the files are available locally.
Since it is a custom convenience tool, I can't ask for passwords for this operation.
I tried the approach to run P4Command with "Diff" command but it fails with exception "P4Command requires a P4Server". Creating a P4Server object needs user password. I was using following constructor.
public P4Command( Repository repository, string command, bool taggedOutput, params string[] arguments )
Is there any other approach available to solve this problem? Thanks!