- <TITLE>How To...</TITLE>
- <P>
- This page gives you a quick reference to commands that perform various
- Perforce tasks.
- (Note that the command buttons on this Help page are not operational and are for illustration only.)
- If you are not already familiar with basic Perforce concepts,
- please read <a href="quickstart?help">Getting Started with Perforce and P4Web</a> first.
- <p>
- To find specific information on this page, you can click on one of the following topics, or use your
- browser's Find feature.
- <blockquote>
- <a href="howto?help#user">Users and Passwords</a>
- <br><a href="howto?help#client">Client Workspaces</a>
- <br><a href="howto?help#files">Working with Files</a>
- <br><a href="howto?help#changelists">Changelists</a>
- <br><a href="howto?help#branching">Branching and Integration</a>
- <br><a href="howto?help#jobs">Jobs</a>
- <br>
- <a href="howto?help#labels">Labels</a> </blockquote>
- <DL>
- <form>
- <table border=1 cellpadding=5>
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top> <A NAME=user></a> <b>Users
- and Passwords</b> </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Switching to a different user or Perforce
- server </b> </td>
- <td valign=top> You can switch users only if P4Web is running with its
- multiuser feature enabled. (<tt>-M</tt> flag). You cannot switch to
- a different Perforce server, because the server host and port are specified
- when P4Web is started. See <a href="index?help#start">How to Start P4Web</a>
- for more information. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Changing your Perforce password </b> </td>
- <td valign=top> Select the <B>Settings</B> tab and use the <B>Change Password
- </B>fields. <br>
- For more information, see <a href="edituser?help">Editing Your User
- Spec</a> and <a href="auth?help">Passwords and Authentication</a>. </td>
- </tr>
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top> <A Name=client></a> <b>Client
- Workspaces</b> </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Editing your client workspace </b> </td>
- <td valign=top> Select the <B>Clients</B> tab. <br>
- Click on the <B>Edit current client</B> link at the top of the page.
- <br>
- For more information, see <a href="editclient?help">Editing Your Client
- Spec</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Switching to a different client workspace
- </b> </td>
- <td valign=top> Select the <B>Clients</B> tab. <br>
- Click on a client name. <br>
- Click on the "Switch to" link at the bottom of the <a href="client?help">Client
- specification</a> page. </td>
- </tr>
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top> <A NAME=files></a> <b>Working
- with Files</b> </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Syncing files </b> </td>
- <td valign=top> Click on a file name and select
- <select>
- <option>Sync...
- </select>
- <br>
- <I>or</I> <br>
- Click <img border=0 src="/runsync?icon" align=absmiddle> ("Sync to head
- revision" shortcut) <br>
- For more information, see <a href="sync?help">Syncing Files</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Submitting files </b> </td>
- <td valign=top>
- <p>Select the <b>Pending</b> tab, click on the changelist to submit,
- then click
- <input type=reset value="Submit">
- . <br>
- <i>or</i> <br>
- Click <img border=0 src="/runsubmit?icon" align=absmiddle> ("Submit
- default changelist" shortcut) on the <b>Files</b> tab. <br>
- For more information, see <a href="submit?help">Submitting Files</a>.
- </p>
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Working on a particular file </b> </td>
- <td valign=top> Click on the file name, then use any of the menu commands
- or shortcut buttons on the page to operate on the current file. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Working on multiple files </b> </td>
- <td valign=top> Click on a folder, then use any of the menu commands or
- shortcut buttons on the page to operate on all the files in the current
- path. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Adding new files into the depot </b> </td>
- <td valign=top> On the <B>Files</B> tab, select
- <select>
- <option>Open for add...
- </select>
- <br>
- For more information, see <a href="add?help">Adding New Files to a Perforce
- Depot</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Deleting depot files </b> </td>
- <td valign=top> On the <B>Files</B> tab, select
- <select>
- <option>Open for delete...
- </select>
- <br>
- <I>or</I> <br>
- Click <img border=0 src="/rundelete?icon" align=absmiddle> ("Open for
- delete" shortcut) <br>
- For more information, see <a href="delete?help">Opening Files for Delete</a>.
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Editing files </b> </td>
- <td valign=top> On the <B>Files</B> tab, select
- <select>
- <option>Open for edit...
- </select>
- <br>
- <I>or</I> <br>
- Click <img border=0 src="/runedit?icon" align=absmiddle> ("Open for
- edit" shortcut) <br>
- For more information, see <a href="edit?help">Opening Files for Edit</a>.
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Integrating files </b> </td>
- <td valign=top> Select
- <select>
- <option>Integrate...
- </select>
- <br>
- For more information, see <a href="integrate?help">Integrating Files</a>.
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Resolving files </b> </td>
- <td valign=top> Select
- <select>
- <option>Resolve...
- </select>
- <br>
- For more information, see <a href="resolve?help">Resolving Files</a>.
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Diffing files </b> </td>
- <td valign=top> Click on the file that you want to diff, then use the
- following menu options: <br>
- <select>
- <option>Diff - workspace file vs. workspace rev
- </select>
- <br>
- shows the changes you've made to the file in
- your workspace.
- <p>
- <select>
- <option>Diff - workspace rev vs. head rev
- </select>
- <br>
- diffs between the version you're synced to
- and the most recent version in the depot.
- <p>
- <select>
- <option>Diff - workspace file vs. head rev
- </select>
- <br>
- diffs between the file in your workspace
- and the most recent version in the depot. <br>
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Determining what files you have opened </b>
- </td>
- <td valign=top>
- <p>Look for the "opened file" icons:</p>
- <p><img border=0 src="/edit?icon" align=absmiddle> open for edit</p>
- <p><img border=0 src="/add?icon" align=absmiddle> open for add</p>
- <p><img border=0 src="/delete?icon" align=absmiddle> open for delete</p>
- <p><img border=0 src="/branch?icon" align=absmiddle> open for branch</p>
- <p><img border=0 src="/integ?icon" align=absmiddle> open for integration<br>
- <i>or</i> <br>
- On the <B>Files</B> tab, use the <B>File Filter</B> and select any
- of the <B>Open files </B> <b>Action</b> menu options. <br>
- <i>or</i> <br>
- Select the <B>Pending</B> tab to view the files in your pending changelists.
- <br>
- For more information, see <a href="pathbrowser?help">Using the Tree
- View</a>. </p>
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Finding a file or a set of files</b> </td>
- <td valign=top> On the <b>Files</b> tab, use the <B>Files matching...
- </B>field in the<B> File Filter</B>. <br>
- For more information, see <a href="findfiles?help">Finding Files</a>.
- </td>
- </tr>
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top> <A NAME=changelists></a> <b>Changelists</b>
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Creating a numbered pending changelist </b>
- </td>
- <td valign=top> Click <img border=0 src="/runsubmit?icon" align=absmiddle>
- ("Submit default changelist" shortcut), then click
- <input type=reset value="Create Changelist">
- . <br>
- For more information, see <a href="editpending?help">Editing a Pending
- Changelist</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Submitting a numbered pending changelist
- </b> </td>
- <td valign=top> Select the <B>Pending</B> tab, click on the changelist
- to submit, and click
- <input type=reset
- value="Submit">
- . <br>
- For more information, see <a href="editpending?help">Editing a Pending
- Changelist</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Moving files between changelists </b> </td>
- <td valign=top> Select the <B>Pending</B> tab. <br>
- Click on the changelist containing the file that you want to move. <br>
- Select the files that you want to move. <br>
- Select the target changelist and click the<B> Move to Changelist </B>button.
- <br>
- For more information, see <a href="editpending?help">Editing a Pending
- Changelist</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Adding a job to a pending changelist </b>
- </td>
- <td valign=top> Select the <B>Pending</B> tab. <br>
- Click on the desired changelist. <br>
- In the <b>Jobs</b> field, enter the jobs you want to add. <br>
- Jobs can only be added to numbered changelists, so if it's the default
- changelist, click <b>Create Changelist</b>. <br>
- For more information, see <a href="editpending?help">Editing a Pending
- Changelist</a>.
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top> <A NAME=branching></a> <b>Branching
- and Integration</b> </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Creating a branch spec </b> </td>
- <td valign=top> Select the <B>Branches</B> tab. <br>
- Click the <B>Create branch spec</B> link at the top of the page. <br>
- For more information, see <a href="editbranch?help">Creating and Editing
- Branches</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Editing a branch spec </b> </td>
- <td valign=top> Select the <B>Branches</B> tab and click on the name of
- the branch. <br>
- Select
- <select>
- <option>Edit branch spec...</option>
- </select>
- <br>
- For more information, see <a href="editbranch?help">Creating and Editing
- Branches</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top> <b>Deleting a branch spec</b> </td>
- <td valign=top> Select the <B>Branches</B> tab and click on the name of
- the branch. <br>
- Select
- <select>
- <option>Delete branch spec</option>
- </select>
- </td>
- </tr>
- <tr>
- <td align=left valign=top> <b>Integrating files</b> </td>
- <td valign=top> On the <b>Files</b> tab, select
- <select>
- <option>Integrate...</option>
- </select>
- <br>
- For more information, see <a href="integrate?help">Integrating Files</a>.
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top> <A NAME=jobs></a> <b>Jobs</b>
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Creating a job </b> </td>
- <td valign=top> Select the <B>Jobs</B> tab. <br>
- Click the <B>Create job</B> link at the top of the page. <br>
- For more information, see <a href="editjob?help">Creating and Editing
- Jobs</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Editing a job </b> </td>
- <td valign=top> Select the <B>Jobs</B> tab and click on the name of the
- job. <br>
- Select
- <select>
- <option>Edit job...</option>
- </select>
- <br>
- For more information, see <a href="editjob?help">Creating and Editing
- Jobs</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Deleting a job </b> </td>
- <td valign=top> Select the <B>Jobs</B> tab and click on name of the job.
- <br>
- Select
- <select>
- <option>Delete job</option>
- </select>
- <tr>
- <td colspan=2 bgcolor="EOEOEO" valign=top><A NAME=labels></a> <b>Labels</b>
- </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Creating a label spec </b> </td>
- <td valign=top> Select the <B>Labels</B> tab. <br>
- Click the <B>Create label spec</B> link at the top of the page. <br>
- For more information, see <a href="editlabel?help">Creating and Editing
- Labels</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Tagging files with a label </b> </td>
- <td valign=top> Select the <B>Labels</B> tab and click on name of the
- label. <br>
- Select
- <select>
- <option>Add/Replace files...</option>
- </select>
- to tag the files with that label. <br>
- For more information, see <a href="editlabel?help">Creating and Editing
- Labels</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Editing a label spec </b> </td>
- <td valign=top> Select the <B>Labels</B> tab and click on name of the
- label. <br>
- Select
- <select>
- <option>Edit label spec...</option>
- </select>
- <br>
- For more information, see <a href="editlabel?help">Creating and Editing
- Labels</a>. </td>
- </tr>
- <tr>
- <td align=left valign=top><b>Deleting a label </b> </td>
- <td valign=top> Select the <B>Labels</B> tab and click on name of the
- label. <br>
- Select
- <select>
- <option>Delete label</option>
- </select>
- </td>
- </tr>
- </table>
- </form>
- </DL>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12234 | Matt Attaway | Rejigger P4Web project in preparation for official sunsetting The bin directory contain...s the last official builds of P4Web from the Perforce download site. P4Web is soon to be completely sunsetted; these builds are here for folks who don't want to build their own. To better handle the archived builds the source code has been moved into a separate src directory. « |
10 years ago | |
//guest/perforce_software/p4web/Help/howto.html | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code | 11 years ago |