diff --git a/en_US.ISO8859-1/articles/p4-primer/article.sgml b/en_US.ISO8859-1/articles/p4-primer/article.sgml
index 042256ff14..ea6cc8436a 100644
--- a/en_US.ISO8859-1/articles/p4-primer/article.sgml
+++ b/en_US.ISO8859-1/articles/p4-primer/article.sgml
@@ -229,12 +229,12 @@
//depot/projects/smpng/... //client/...
- The ... should taken literally. It
+ The ... should be taken literally. It
is a Perforce idiom for saying
this directory and all files and directories below
it.
- A View can contain multiple mappings. Let's say you
+ A Perforce view can contain multiple mappings. Let's say you
want to map in both the SMPng tree and the NFS tree. Your
View might look like:
@@ -533,7 +533,7 @@
&prompt.user; p4 edit filename
- This marks the file on the server as being in the edit state,
+ This marks the file on the server as being in the edit state,
which then allows it to be submitted after changes are made, or
marks it for special handling when doing an integration or sync
operation. Note that editing is not exclusive in
@@ -582,10 +582,46 @@
change, and what its change number was. A change can be examined
in detail via the p4 describe
changenumber command. This
- will provide the submit log and the diffs of the actual change.
- It is common to use the or
- flags to produce unified or context diffs
- instead of the native diff format.
+ will provide the submit log and the diffs of the actual change.
+
+ Commonly, the p4 describe command is used in one
+ of three ways:
+
+
+
+ p4 describe -s CHANGE
+
+
+ List a short description of
+ changeset CHANGE, including the commit log of
+ the particular changeset and a list of the files it affected.
+
+
+
+
+ p4 describe -du CHANGE
+
+
+ List a description of changeset CHANGE,
+ including the commit log of the particular changeset, a list of the
+ files it affected and a patch for each modified file, in a format
+ similar to unified diff patches (but not exactly the
+ same).
+
+
+
+
+ p4 describe -dc CHANGE
+
+
+ List a description of changeset CHANGE,
+ including the commit log of the particular changeset, a list of the
+ files it affected and a patch for each modified file, in a format
+ similar to context diff patches (but not exactly the
+ same).
+
+
+ The p4 filelog
filename command will show
@@ -664,7 +700,16 @@
If you want to add a whole tree of files, run a command
like:
- &prompt.user; find . -type f |xargs p4 add
+ &prompt.user; find . -type f | xargs p4 add
+
+
+ Perforce can track UNIX symlinks too, so
+ you can probably
+ use \! -type d as the
+ matching expression in &man.find.1; above. We don't commit symlinks
+ into the source tree of &os; though, so this should not be
+ necessary.
+ Doing a p4 submit will then copy the file
to the Depot on the server. It is very important to only add
@@ -704,9 +749,9 @@
coerce the permissions on the files if needed. Then run the
following commands:
- &prompt.user; p4 diff -se ... |xargs p4 edit
-&prompt.user; p4 diff -sd ... |xargs p4 delete
-&prompt.user; find . -type f |xargs p4 add
+ &prompt.user; p4 diff -se ... | xargs p4 edit
+&prompt.user; p4 diff -sd ... | xargs p4 delete
+&prompt.user; find . -type f | xargs p4 addThe first command tells Perforce to
look for files that have changed, even if they are not open. The