You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

P4desc.html 2.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <html>
  2. <body>
  3. <h2><a name="perforce">Perforce</a></h2>
  4. <h3>Description</h3>
  5. <p>Handles packages/modules retrieved from a <a href="http://www.perforce.com/">Perforce</a> repository.</p>
  6. <h3>Parameters</h3>
  7. <table border="1" cellpadding="2" cellspacing="0">
  8. <tr>
  9. <td valign="top"><b>Attribute</b></td>
  10. <td valign="top"><b>Description</b></td>
  11. <td align="center" valign="top"><b>Required</b></td>
  12. </tr>
  13. <tr>
  14. <td valign="top">localpath</td>
  15. <td valign="top">The local path of the file/directory to
  16. write file(s) to.</td>
  17. <td align="center" valign="top">Yes</td>
  18. </tr>
  19. <tr>
  20. <td>user</td>
  21. <td>Specifies the user name, overriding the value of $P4USER,
  22. $USER, and $USERNAME in the environment.</td>
  23. <td><p align="center">No</p>
  24. </td>
  25. </tr>
  26. <tr>
  27. <td>port</td>
  28. <td>Specifies the server's listen address, overriding the
  29. value of $P4PORT in the environment and the default (perforce:1666).</td>
  30. <td><p align="center">No</p>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td valign="top">version</td>
  35. <td valign="top">The revision number of the file being
  36. extracted.</td>
  37. <td align="center" valign="top">No</td>
  38. </tr>
  39. <tr>
  40. <td valign="top">date</td>
  41. <td valign="top">Get files as of this date. Either [yyyy/mm/dd]
  42. or [yyyy/mm/dd:hh:mm:ss]. Note that [yyyy/mm/dd] means [yyyy/mm/dd:00:00:00],
  43. so if you want to include all events on that day refer to
  44. the next day.</td>
  45. <td align="center" valign="top">No</td>
  46. </tr>
  47. <tr>
  48. <td valign="top">label</td>
  49. <td valign="top">A label from which to check out files.</td>
  50. <td align="center" valign="top">No</td>
  51. </tr>
  52. <tr>
  53. <td valign="top">force</td>
  54. <td valign="top">&quot;[true|false]&quot;. Forces
  55. resynchronization even if the client already has the
  56. file, and clobbers writable files. This flag doesn't
  57. affect open files.</td>
  58. <td align="center" valign="top">No, default &quot;false&quot;</td>
  59. </tr>
  60. <tr>
  61. <td>change</td>
  62. <td>Gets the file(s) as they were when a specified change
  63. number was applied.</td>
  64. <td><p align="center">No</p>
  65. </td>
  66. </tr>
  67. </table>
  68. <h3>Examples</h3>
  69. <pre> &lt;perforce localpath=&quot;//path/to/source/...&quot;
  70. force=&quot;true&quot;
  71. change=&quot;4513&quot;
  72. /&gt;</pre>
  73. <p>syncs the files in the source directory that are in the
  74. Perforce repository, as of change number 4513, overwriting any
  75. modified files in the current source tree is needed.</p>
  76. <pre> &lt;perforce localpath=&quot;//path/to/source/...&quot; /&gt;</pre>
  77. <p>Syncs with the latest version of the file in the repository.</p>
  78. </body>
  79. </html>