Closed dgilbert101 closed 2 years ago
Could you please check what's the Perforce server version that you are using?
p4 changes
does have a -r
version according to the docs as you mentioned, however, the option being supported by the p4 CLI is a different thing than the option being supported by the server.
[ WARNING @ Run:126 ] Retrying: p4 changes -l -s submitted -r //src/...
One way to test that would be to copy the command printed after the Retrying:
phrase and try to run it externally through your p4 CLI in a terminal.
p4-fusion has logged the message in such a way that the commands are easy to read, however, p4-fusion is not using the p4 CLI and instead, it is utilising the Helix Core C++ APIs.
Also, you may have to use p4 -p $P4PORT changes...
in case you use an alternate P4PORT to run p4-fusion
Thanks for the quick response. Then that is more than likely the issue, we are running an older version P4D/NTX64/2015.1/1252202 (2015/10/22). Its not worth upgrading at this point and time.
I can just continue to use git-p4 for the time being. Thanks again.
It should technically be possible to work around this limitation. Since -r
is the only option that seemed to be unsupported, and the only thing it does is return the results in the reverse chronological order, there is a possibility to add the inversion logic to p4-fusion instead of depending on the server to do that same thing.
However, it is also a question of whether it is a good idea to support it for this particular use-case. I say we could do it, but would need extra time and effort.
(I am the same guy as the one who replied to the issue above, just a different account)
You can use my fork to solve this issue. If you are running old perforce version on the server you will get this issue. https://github.com/salesforce/p4-fusion/pull/71
Receiving the following error when trying p4-fusion out
p4 changes has no '-r' option, although the docs state it does.