This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Documentation: advertize cvs co -P


I recently found out that -P (prune) works during check-outs too.

So, I'd advocate using -P during checkouts, as this avoids phantom
directories with nothing in them from the start.

Okay ?

Index: cvs.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/cvs.html,v
retrieving revision 1.116
diff -c -r1.116 cvs.html
*** cvs.html	27 Oct 2003 07:07:28 -0000	1.116
--- cvs.html	17 Nov 2003 12:27:52 -0000
***************
*** 43,51 ****
  a password; reply with the empty string.</p>
  
  <p>Issue the command </p>
! <blockquote><p><code>cvs -z 9 co gcc</code></p></blockquote>
  to check out the compiler sources, respectively
! <blockquote><p><code>cvs -z 9 co wwwdocs</code></p></blockquote>
  <p>to check out our web pages.</p>
  
  <p>Once you've got the repository checked out, <code>cvs update</code>
--- 43,51 ----
  a password; reply with the empty string.</p>
  
  <p>Issue the command </p>
! <blockquote><p><code>cvs -z 9 co -P gcc</code></p></blockquote>
  to check out the compiler sources, respectively
! <blockquote><p><code>cvs -z 9 co -P wwwdocs</code></p></blockquote>
  <p>to check out our web pages.</p>
  
  <p>Once you've got the repository checked out, <code>cvs update</code>
***************
*** 109,115 ****
  release branch with the following command:</p>
  
  <blockquote><p>
! <code>cvs -z 9 co -rgcc-<em>x</em>_<em>y</em>-branch gcc</code>
  </p></blockquote>
  
  <p>By changing the <code>-r</code> argument above you can check out
--- 109,115 ----
  release branch with the following command:</p>
  
  <blockquote><p>
! <code>cvs -z 9 co -P -rgcc-<em>x</em>_<em>y</em>-branch gcc</code>
  </p></blockquote>
  
  <p>By changing the <code>-r</code> argument above you can check out
***************
*** 282,288 ****
  
  <p>The web pages for the GCC project are also in the CVS repository
  and you can check them out, submit patches, etc just like you do for
! the compiler itself.  Use <code>cvs co wwwdocs</code> to check out
  the web pages.</p>
  
  <h2><a name="system">The host system</a></h2>
--- 282,288 ----
  
  <p>The web pages for the GCC project are also in the CVS repository
  and you can check them out, submit patches, etc just like you do for
! the compiler itself.  Use <code>cvs co -P wwwdocs</code> to check out
  the web pages.</p>
  
  <h2><a name="system">The host system</a></h2>
Index: cvswrite.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/cvswrite.html,v
retrieving revision 1.61
diff -c -r1.61 cvswrite.html
*** cvswrite.html	2 Oct 2003 10:23:24 -0000	1.61
--- cvswrite.html	17 Nov 2003 12:27:53 -0000
***************
*** 54,60 ****
  the command</p>
  
  <blockquote><p><code>
! cvs -z 9 -d :ext:<i>username</i>@gcc.gnu.org:/cvs/gcc co gcc
  </code></p></blockquote>
  
  <p>where <i>username</i> is your user name at gcc.gnu.org.</p>
--- 54,60 ----
  the command</p>
  
  <blockquote><p><code>
! cvs -z 9 -d :ext:<i>username</i>@gcc.gnu.org:/cvs/gcc co -P gcc
  </code></p></blockquote>
  
  <p>where <i>username</i> is your user name at gcc.gnu.org.</p>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]