[p4] Linking to P4Web from a Wiki
G Barthelemy
gb.perforce at googlemail.com
Tue May 1 03:27:53 PDT 2007
Has anyone found a way of linking to the head revision of a file using
a short p4web URL ? The two URL schemes that seem to do that contain a
duplicate or even a triplicate of the file path, for example:
from the file link in the revision history view:
http://p4web/@md=d&cd=//depot/path/dir/&cdf=//depot/path/dir/file.c&c=87B@//depot/path/dir/file.c?ac=22
from the file link in the depot tree view:
http://p4web/@md=d&cd=//depot/path/dir/&c=81o@//depot/path/dir/file.c?ac=22
The problem is that when "path" is long, URLs are even longer and not
very practical to use (for example when linking from a Wiki). I guess
I am after a "single path" URL, i.e.:
http://p4web/@//depot/path/dir/file.c?ac=22 (this doesn't work though).
More information about the perforce-user
mailing list