You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running TCR revert operation with the following operation does not work:
p4 sync -f <file-path>
To Reproduce
Steps to reproduce the behavior:
Open a git bash terminal
run p4 set P4CLIENT=<client_name>
Start TCR with option -V p4 and enter the driver role
Modify one of the watched source files so that it breaks at least one test, and save it in order to trigger TCR loop
TCR says it's reverting the source file
When looking at the source file's contents, the change is not reverted as it should have been
Expected behavior
Once TCR's revert operation is completed, the modified source file should be reverted to the latest submitted p4 revision.
Working Environment
OS: Windows
p4 client
TCR version 0.24.4
Additional Context
After investigation, it appears that the p4 implementation for vcs.Restore(path) should call the 2 following p4 commands in sequence in order to work as expected:
p4 reconcile -a -e -d <file-path> (in order to tell p4 to open the file for edition)
p4 revert <file-path>
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Contact Details
damien.menanteau@gmail.com
Describe the bug
Running TCR revert operation with the following operation does not work:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Once TCR's revert operation is completed, the modified source file should be reverted to the latest submitted p4 revision.
Working Environment
Additional Context
After investigation, it appears that the p4 implementation for vcs.Restore(path) should call the 2 following p4 commands in sequence in order to work as expected:
Code of Conduct
The text was updated successfully, but these errors were encountered: