Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various commands fail with P4V 2020.2 #27

Open
benh57 opened this issue Sep 14, 2020 · 1 comment
Open

Various commands fail with P4V 2020.2 #27

benh57 opened this issue Sep 14, 2020 · 1 comment

Comments

@benh57
Copy link

benh57 commented Sep 14, 2020

P4V 2020.2 removed -cmd which breaks the 'View File History' 'Time Lapse View' and other options in this plugin.

The unsupported P4V command syntax, "p4v -cmd" (described in
https://community.perforce.com/s/article/2871) will be discontinued
in P4V 2020.2. The actions available with the '-cmd' flag can be
replaced by P4VC commands. We will continue to support the "p4v -s"
and "p4v -t" functionality described in the preceding KB article.

https://www.perforce.com/perforce/doc.current/user/p4vnotes.txt

Since this plugin seems unmaintained, we may make a fork to fix this. Figured i'd bug it here for documentation.

@shish456
Copy link

I worked around this issue on my local computer by going to Preferences / Browse Packages / Perforce. Modified Perforce.py, and changed this line:

command = "p4v.exe -p {} -c {} -u {} -cmd \"{} {}\"".format(port, client, userName, command, fileName)

to:

command = "p4vc.bat -p {} -c {} -u {} {} {}".format(port, client, userName, command, fileName)

See also:

https://community.perforce.com/s/article/2871
https://community.perforce.com/s/article/15316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants