Committers guide: simplification of the vendor merge section
- Remove comparison to CVS as we no longer use it - correct location of `--parents` - always quote and simplify admonition about zsh
This commit is contained in:
parent
109963ff7e
commit
6fdf3dc507
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51935
1 changed files with 4 additions and 8 deletions
|
@ -1554,9 +1554,7 @@ U stable/9/share/man/man4/netmap.4
|
|||
<sect5>
|
||||
<title>Preparing the Vendor Sources</title>
|
||||
|
||||
<para>Unlike in <acronym>CVS</acronym> where only the
|
||||
needed parts were imported into the vendor tree to avoid
|
||||
bloating the main tree, Subversion is able to store a
|
||||
<para>Subversion is able to store a
|
||||
full distribution in the vendor tree. So, import
|
||||
everything, but merge only what is required.</para>
|
||||
|
||||
|
@ -1594,7 +1592,7 @@ U stable/9/share/man/man4/netmap.4
|
|||
&prompt.user; <userinput>tar cf - . | tar xf - -C ../dist</userinput>
|
||||
&prompt.user; <userinput>cd <replaceable>../dist</replaceable></userinput>
|
||||
&prompt.user; <userinput>comm -23 ../old ../new | xargs svn rm</userinput>
|
||||
&prompt.user; <userinput>comm -13 ../old ../new | xargs svn --parents add</userinput></screen>
|
||||
&prompt.user; <userinput>comm -13 ../old ../new | xargs svn add --parents</userinput></screen>
|
||||
|
||||
<para>If any directories were removed, they will have to
|
||||
be <command>svn rm</command>ed manually. Nothing will
|
||||
|
@ -1670,7 +1668,7 @@ U stable/9/share/man/man4/netmap.4
|
|||
|
||||
<screen>&prompt.user; <userinput>svn checkout svn+ssh://repo.freebsd.org/base/head/contrib/<replaceable>sendmail</replaceable></userinput>
|
||||
&prompt.user; <userinput>cd sendmail</userinput>
|
||||
&prompt.user; <userinput>svn merge -c r<replaceable>261190</replaceable> ^/vendor/<replaceable>sendmail/dist</replaceable> .</userinput></screen>
|
||||
&prompt.user; <userinput>svn merge -c r<replaceable>261190</replaceable> '^/vendor/<replaceable>sendmail/dist</replaceable>' .</userinput></screen>
|
||||
|
||||
<para><literal>^</literal> is an alias for the
|
||||
repository path.</para>
|
||||
|
@ -1679,9 +1677,7 @@ U stable/9/share/man/man4/netmap.4
|
|||
<note>
|
||||
<para>If using the <application>Zsh</application> shell,
|
||||
the <literal>^</literal> must be escaped with
|
||||
<literal>\</literal>. This means
|
||||
<literal>^/head</literal> should be
|
||||
<literal>\^/head</literal>.</para>
|
||||
<literal>\</literal> or quoted.</para>
|
||||
</note>
|
||||
|
||||
<para>It is necessary to resolve any merge conflicts.</para>
|
||||
|
|
Loading…
Reference in a new issue