Date: Mon, 28 Apr 2014 20:21:23 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44682 - head/en_US.ISO8859-1/articles/cvs-freebsd Message-ID: <201404282021.s3SKLNRa023412@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Mon Apr 28 20:21:23 2014 New Revision: 44682 URL: http://svnweb.freebsd.org/changeset/doc/44682 Log: Restore lost <replaceable> tags. Modified: head/en_US.ISO8859-1/articles/cvs-freebsd/article.xml Modified: head/en_US.ISO8859-1/articles/cvs-freebsd/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/cvs-freebsd/article.xml Mon Apr 28 20:19:20 2014 (r44681) +++ head/en_US.ISO8859-1/articles/cvs-freebsd/article.xml Mon Apr 28 20:21:23 2014 (r44682) @@ -72,7 +72,7 @@ <para>The first thing to do when setting up a new repository is to tell <application>CVS</application> to initialize it:</para> - <screen>&prompt.user; <userinput>cvs -d path-to-repository init</userinput></screen> + <screen>&prompt.user; <userinput>cvs -d <replaceable>path-to-repository</replaceable> init</userinput></screen> <para>This tells <application>CVS</application> to create the <filename>CVSROOT</filename> administrative directory, where all the @@ -87,12 +87,12 @@ repository. We will assume the FreeBSD default of <literal>ncvs</literal> for this group.</para> - <screen>&prompt.root; <userinput>pw groupadd ncvs</userinput></screen> + <screen>&prompt.root; <userinput>pw groupadd <replaceable>ncvs</replaceable></userinput></screen> <para>Next, you should &man.chown.8; the directory to the group you just added:</para> - <screen>&prompt.root; <userinput>chown -R :ncvs path-to-your-repository</userinput></screen> + <screen>&prompt.root; <userinput>chown -R :<replaceable>ncvs</replaceable> <replaceable>path-to-your-repository</replaceable></userinput></screen> <para>This ensures that no one can write to the repository without proper group permissions.</para> @@ -128,7 +128,7 @@ <filename>CVSROOT</filename> and copy the FreeBSD files over your local (untouched) copies:</para> - <screen>&prompt.user; <userinput>cvs -d path-to-your-repository checkout CVSROOT</userinput> + <screen>&prompt.user; <userinput>cvs -d <replaceable>path-to-your-repository</replaceable> checkout CVSROOT</userinput> &prompt.user; <userinput>cd CVSROOT</userinput> &prompt.user; <userinput>cp ../CVSROOT-freebsd/* .</userinput> &prompt.user; <userinput>cvs add *</userinput></screen> @@ -541,7 +541,7 @@ will lock yourself out. So make sure everything is as you intend, and then do the following:</para> - <screen>&prompt.user; <userinput>cvs commit -m '- Initial FreeBSD scripts commit'</userinput></screen> + <screen>&prompt.user; <userinput>cvs commit -m '<replaceable>- Initial FreeBSD scripts commit</replaceable>'</userinput></screen> </sect2> <sect2> @@ -551,7 +551,7 @@ <filename>avail</filename> file, to make sure everything works as expected.</para> - <screen>&prompt.user; <userinput>cvs commit -f -m 'Forced commit to test the new CVSROOT scripts' avail</userinput></screen> + <screen>&prompt.user; <userinput>cvs commit -f -m '<replaceable>Forced commit to test the new CVSROOT scripts</replaceable>' avail</userinput></screen> <para>If everything works, congratulations! You now have a working setup of the FreeBSD scripts for your repository. If @@ -646,7 +646,7 @@ <screen>&prompt.root; <userinput>mv /usr/bin/cvs /usr/bin/ncvs</userinput> &prompt.root; <userinput>mv cvs /usr/bin/cvs</userinput> -&prompt.root; <userinput>chown root:ncvs /usr/bin/cvs /usr/bin/ncvs</userinput> +&prompt.root; <userinput>chown root:<replaceable>ncvs</replaceable> /usr/bin/cvs /usr/bin/ncvs</userinput> &prompt.root; <userinput>chmod o-rx /usr/bin/ncvs</userinput> &prompt.root; <userinput>chmod u-w,g+s /usr/bin/cvs</userinput></screen> @@ -669,7 +669,7 @@ <para>Your wrapper should now be setup. You can of course test this by making a forced commit to the <filename>access</filename> file:</para> - <screen>&prompt.user; <userinput>cvs commit -f -m 'Forced commit to test the new CVSROOT scripts' access</userinput></screen> + <screen>&prompt.user; <userinput>cvs commit -f -m '<replaceable>Forced commit to test the new CVSROOT scripts</replaceable>' access</userinput></screen> <para>Again, if this fails, check to see whether all of the above steps have been executed correctly.</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404282021.s3SKLNRa023412>