Re: [p4] Perforce File Specifications and Wildcards

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.

My advice on positional specifiers is "don't," but here's the
doc on them:

https://www.perforce.com/perforce/doc.032/manuals/p4guide/04_details.html#1040502

In a nutshell, %N is the same as *, but each %N maps to a specific matching
%N.  That is:

//depot/*/* -> //client/*/*

is the same as:

//depot/%1/%2 -> //client/%1/%2

but with the %N syntax you can swap them around:

//depot/%1/%2 -> //client/%2/%1

which means that //depot/foo/bar -> //client/bar/foo.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/4725-perforce-file-specifications-and-wildcards
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.