[p4] Linking to P4Web from a Wiki

Eric D. Blom ebx at cypress.com
Tue May 1 07:08:26 PDT 2007


Try removing the ?ac=22 from the URL.

Eric



On May 1, 2007, at 3:57 PM, G Barthelemy wrote:

> 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).
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


More information about the perforce-user mailing list