<TITLE>Selecting Files to Add</TITLE> <P> The <b>Open for add...</b> command lets you select files to add to the Perforce <a href="defs?help#depot">depot</a>. (See <a href="add?help">Adding New Files</a> for more information.) You can select files by one of two methods: <ul> <li> <b>By path:</b> P4Web looks for new files in the workspace directory shown. (Files that have no matching depot counterparts are considered "new".) You can choose whether P4Web scans subdirectories, or just the current path level, for new files to add. If you want to add files that are found a directory other than workspace directory shown, first use the <a href="pathbrowser?help">Path Browser</a> to navigate to the corresponding depot path, then use the <b>Open for add...</b> command to select files. If you don't see this option on the "Open for add" page, your <a href="defs?help#clientview">client view</a> mapping might be the problem — see below. <p> </li> <li> <b>By name:</b> Specify the names of files to add. These files do not have to exist in your workspace yet, although they must be present by the time you <a href="submit?help">submit</a> them to the depot. You can list multiple files in the text input area on the page. Each file must appear on its own line. The files you list are assumed to be in the path shown. If you list files with pathnames, the pathnames are assumed to be subdirectories of the path shown. </li> </ul> <p> After you've selected files to add, click "Continue" to display the <a href="add?help">Open for Add</a> page, where you can verify the files you selected, and choose options for how they will be opened. <h4>Client view mapping</h4> <p> Perforce uses your <a href="defs?help#clientview">client view</a> to figure out how a file's name and location in your workspace are mapped to its name and location in the depot. If you have a simple client view mapping, selecting files to add is easy. However, if your client view mapping is complicated, you might find that: <ul> <p> <li>The files you select can't be opened for add <p> <li>The files you open for add are mapped to unexpected depot locations <p> <li>The "Select files to add" form doesn't give you the option of selecting files by path </ul> <p> You might need to <a href="editclient?help">edit your client spec</a> to correct the view mapping that is causing the problem.
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12234 | Matt Attaway |
Rejigger P4Web project in preparation for official sunsetting The bin directory contains 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. |
||
//guest/perforce_software/p4web/Help/addselect.html | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code |