- Update the copyright to include 2000
- Fix capitalization of the title of the last section - Add a new FAQ to the Misc. Questions section that explains how to add a file to a CVS branch, complete with a real-life example.
This commit is contained in:
parent
b25a76ebcc
commit
dff69dd1ee
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=7248
2 changed files with 80 additions and 4 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<pubdate>September 1999</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>1999</year>
|
||||
<year>1999-2000</year>
|
||||
<holder>The FreeBSD Documentation Project</holder>
|
||||
</copyright>
|
||||
|
||||
|
|
@ -1196,7 +1196,7 @@
|
|||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>Miscellaneous questions</title>
|
||||
<title>Miscellaneous Questions</title>
|
||||
|
||||
<qandaset>
|
||||
<qandaentry>
|
||||
|
|
@ -1260,6 +1260,44 @@
|
|||
vendor code.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question>
|
||||
<para>How do I add a new file to a CVS branch?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
<para>To add a file onto a branch, simply checkout or update
|
||||
to the branch you want to add to and then add the file using
|
||||
<command>cvs add</command> as you normally would. For
|
||||
example, if you wanted to MFC the file
|
||||
<filename>src/sys/alpha/include/smp.h</filename> from HEAD
|
||||
to RELENG_4 and it does not exist in RELENG_4 yet, you would
|
||||
use the following steps:</para>
|
||||
|
||||
<example>
|
||||
<title>MFC'ing a New File</title>
|
||||
|
||||
<screen>&prompt.user; <userinput>cd sys/alpha/include</userinput>
|
||||
&prompt.user; <userinput>cvs update -rRELENG_4</userinput>
|
||||
cvs update: Updating .
|
||||
U clockvar.h
|
||||
U console.h
|
||||
...
|
||||
&prompt.user; <userinput>cvs update -kk -Ap smp.h > smp.h</userinput>
|
||||
===================================================================
|
||||
Checking out smp.h
|
||||
RCS: /usr/cvs/src/sys/alpha/include/smp.h,v
|
||||
VERS: 1.1
|
||||
***************
|
||||
&prompt.user; <userinput>cvs add smp.h</userinput>
|
||||
cvs add: scheduling file `smp.h' for addition on branch `RELENG_4'
|
||||
cvs add: use 'cvs commit' to add this file permanently
|
||||
&prompt.user; <userinput>cvs commit</userinput>
|
||||
</screen>
|
||||
</example>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
</qandaset>
|
||||
</sect1>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue