[p4] Linking to P4Web from a Wiki
Jamie.Echlin@barclayscapital.com
Jamie.Echlin at barclayscapital.com
Tue May 1 03:40:47 PDT 2007
You can use use http://p4web/<FileDepotPath>
To refer to the head revision of any file...
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of G Barthelemy
> Sent: 01 May 2007 11:28
> To: Perforce Users
> Subject: [p4] Linking to P4Web from a Wiki
>
> 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/f
ile.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
>
------------------------------------------------------------------------
For important statutory and regulatory disclosures and more information about Barclays Capital, please visit our web site at http://www.barcap.com.
Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons.
Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group.
------------------------------------------------------------------------
More information about the perforce-user
mailing list