<HTML><HEAD><HTML><HEAD><TITLE>P4Web User Guide - P4Web User Guide - Using the File view</TITLE></HEAD><BODY><FONT SIZE=-1><B>P4Web Release 2012.1 User Guide</B></FONT><BR></HEAD><BODY>
<FONT SIZE=-1><B><A HREF="quickstart.html">[Getting Started]</A> <A HREF="howto.html">[How To...]</A> <A HREF="tips.html">[Browser Tips]</A> <A HREF="defs.html">[Glossary]</A> <A HREF="roadmap.html">[Road Map]</A> </B></FONT><BR>
<HTML><HEAD><H3>P4Web User Guide - Using the File view</H3></HEAD><BODY>
<P>
The <b>File view</b> enables you to display detailed information
about a file, and to work on that file.
You get to the File view by
clicking the file <i>name</i> portion of any of
the files listed in the <a href="pathbrowser.html">Tree view</a>.
You can also get to the File view
by clicking any of the file links list in the
<a href="describe.html">Changelist Description</a> page,
the
<a href="submit.html">Submit Changelist</a> page, or the
<a href="editpending.html">Pending Changelist</a> page.
(If you are using P4Web in
<a href="browseonly.html">Viewer mode</a>,
some of the information,
links and menu items described here won't be visible to you.)
<p>
The current file's
full depot path and name appear below the control panel.
Each component of the path is a link to a directory
level in the <a href="pathbrowser.html">Tree view</A>.
<p> Detailed state information follows the current file heading:
<table width="66%" border="1" cellpadding="1">
<tr>
<td width="18%"><b>Type</b>, <b>Have</b>, and <b>Head</b> </td>
<td width="82%"> The file's <a href="help_filetypes.html">filetype</a>, the
revision you have in your client workspace, and the head revision in the
depot, respectively. </td>
</tr>
<tr>
<td width="18%"><b>Workspace</b></td>
<td width="82%">
<p>Displays the location of the file in your workspace and gives you
a browser link to it. If you click on this link, your browser opens
the workspace file, allowing you to view work in progress. The file must
be local to the machine running the browser. Some browsers do not support
this functionality.
<p> Additional state information is displayed if your workspace file needs to
be <a href="sync.html">synced</a>, if you and/or anyone else has the file
opened, if you need to <a href="resolve.html">resolve</a> the file, and
so forth. </p>
</td>
</tr>
<tr>
<td width="18%"><b>File state</b></td>
<td width="82%">Displays Perforce state information for the current file.</td>
</tr>
<tr>
<td width="18%"><a href="filelog.html"><b>Revision History</b></a></td>
<td width="82%">Displays the complete history of the file and provides links
to previous file version information and content. (Revision History is the
default File view display.) </td>
</tr>
<tr>
<td width="18%"><b>Changelist description/action</b></td>
<td width="82%"> Displays a summary list of all changelists submitted to this
file, with links to the corresponding <a href="describe.html">Changelist
Description</a> pages. </td>
</tr>
</table>
<p>
For files whose <a href="filetype.html">filetype</a> is "text," these menu choices
are available:
<table width="66%" border="1" cellpadding="1">
<tr>
<td><b>View - head rev text</b> </td>
<td>Displays text of the most recent version of the file in the depot. </td>
</tr>
<tr>
<td><b>View - workspace file text</b></td>
<td>Displays the text of the file in your workspace. </td>
</tr>
<tr>
<td><b>View - annotated file text</b></td>
<td>Displays each line of a file's head revision with the line number where it
was introduced. </td>
</tr>
<tr>
<td><b>Open head rev in browser</b></td>
<td>Opens the most recent depot revision of the file in your browser. </td>
</tr>
<tr>
<td><b>Workspace diffs</b></td>
<td>Displays the changes you've made to the file in your workspace. </td>
</tr>
<tr>
<td><b>Diff - workspace file vs. synced rev</b></td>
<td>Displays the diffs between the file in your workspace and the version
you're synced to. </td>
</tr>
<tr>
<td><b>Diff - synced rev vs. head rev</b></td>
<td>Displays the diffs between the version you're synced to and the most recent
version in the depot. </td>
</tr>
<tr>
<td><b>Diff - workspace file vs. head rev</b></td>
<td>Displays the diffs between the file in your workspace and the most recent
version in the depot. </td>
</tr>
</table>
<p> You can run the following commands on any type of file:
<table width="66%" border="1" cellpadding="1">
<tr>
<td width="17%"><a href="sync.html">Sync file...</a></td>
<td width="83%">Sync to any revision of this file. </td>
</tr>
<tr>
<td width="17%"><a href="launcheditor.html">Open workspace file in editor</a></td>
<td width="83%">Brings up the workspace file in an editor window</td>
</tr>
<tr>
<td width="17%"><a href="submit.html">Submit default changelist...</a> </td>
<td width="83%">Submit just this file if it's open, or all the files in your
default changelist. </td>
</tr>
<tr>
<td width="17%"><a href="edit.html">Open for edit...</a></td>
<td width="83%">Open this file for edit, optionally changing its type and
putting it in a particular changelist. </td>
</tr>
<tr>
<td width="17%"><a href="add.html">Open for add...</a> </td>
<td width="83%">Open this file for add, optionally specifying its type and
putting it in a particular changelist. (Available only if the file is not
already opened for add or present in the depot.) </td>
</tr>
<tr>
<td width="17%"><a href="delete.html">Open for delete...</a></td>
<td width="83%">Open this file for delete, optionally putting it in a particular
changelist. </td>
</tr>
<tr>
<td width="17%"><a href="remove.html">Remove from workspace</a></td>
<td width="83%">Removes the file from your workspace unless the file is currently
open. </td>
</tr>
<tr>
<td width="17%"><a href="integrate.html">Integrate...</a> </td>
<td width="83%">Open this file so changes from another file can be integrated
to it. </td>
</tr>
<tr>
<td width="17%"><a href="resolve.html">Resolve file...</a></td>
<td width="83%">Merge changes into the current file using a variety of options.
</td>
</tr>
<tr>
<td width="17%"><a href="lock.html">Lock</a> </td>
<td width="83%">Locks file if it's opened by you and not locked by someone
else. </td>
</tr>
<tr>
<td width="17%"><a href="unlock.html">Unlock</a></td>
<td width="83%">Unlock file if it's locked by you. </td>
</tr>
<tr>
<td width="17%"><a href="revert.html">Revert if unchanged</a></td>
<td width="83%">The file is closed and taken off your pending changelist if
you opened the file for edit but didn't change it, or if you opened the
file for integrate but didn't resolve it.</td>
</tr>
<tr>
<td width="17%"><a href="revert.html">Revert even though changed</a></td>
<td width="83%">Regardless of what you've done to your workspace file, close
it, replace it with a new copy from the depot, and take it off your pending
changelist. <font color=red>Warning: this option overwrites any changes
you made to your workspace copy of the file.</font> </td>
</tr>
</table>
<p>These shortcut buttons are available in the <b>File</b> view. With the exception
of <b>Open for add...</b> and <b>Open workspace file in editor</b>, the commands
in the <b>File</b> view work only with Perforce-managed files.
<table width="33%" border="1" cellpadding="1">
<tr>
<td><img src="../icons/gotree.gif"></td>
<td>Show the <a href="pathbrowser.html">Tree view</a>. </td>
</tr>
<tr>
<td><img src="../icons/runsync.gif"></td>
<td><a href="sync.html">Sync</a> the file to the head revision. </td>
</tr>
<tr>
<td><img src="../icons/runedit.gif"></td>
<td><a href="edit.html">Open for edit</a> in default changelist, with no filetype
change. </td>
</tr>
<tr>
<td><img src="../icons/rundelete.gif"></td>
<td><a href="delete.html">Open for delete</a> in default changelist. </td>
</tr>
<tr>
<td><img src="../icons/rundiff.gif"></td>
<td>Show all diffs (the differences between your workspace file and the head
revision of the file in the depot). </td>
</tr>
<tr>
<td><img src="../icons/launchedit.gif"></td>
<td>
Open workspace file in an <a href="launcheditor.html">editor</a>.
</td>
</tr>
<tr>
<td><img src="../icons/showtext.gif"></td>
<td>Show text of the head revision of the depot file. </td>
</tr>
<tr>
<td><img src="../icons/browsetext.gif" width="25" height="25"></td>
<td>Display the head revision in a web browser </td>
</tr>
<tr>
<td><img src="../icons/showfilelog.gif"></td>
<td>Show <a href="filelog.html">file history</a> </td>
</tr>
<tr>
<td><img src="../icons/runsubmit.gif"></td>
<td>Go to the <a href="submit.html">Submit Default Changelist</a> page. </td>
</tr>
<tr>
<td><img src="../icons/runrevert.gif"></td>
<td><a href="revert.html">Revert</a> the file if it is unchanged (see above)
</td>
</tr>
<tr>
<td><img src="../icons/cancel.gif"></td>
<td>Cancels your last server request before it is finished. </td>
</tr>
</table>
</BODY></HTML>
<P>
<HR>
<FONT SIZE=-1><I>
Copyright 2012 <A HREF="http://www.perforce.com">Perforce Software</A>.
All rights reserved.
</I></FONT>
</BODY></HTML>