On 01/17/2016 06:55 PM, Gokturk Yuksek wrote:
> Substitute the mentions of CVS with git.
> Rewrite CVS commands with their git equivalents.
> Remove the paragraph about deleting directories in CVS.
> 
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558642
> Signed-off-by: Gokturk Yuksek <gokt...@binghamton.edu>
> 
> diff --git a/ebuild-maintenance/text.xml b/ebuild-maintenance/text.xml
> index a1d92a1..8c542d0 100644
> --- a/ebuild-maintenance/text.xml
> +++ b/ebuild-maintenance/text.xml
> @@ -298,7 +298,7 @@ Moving ebuilds is a two-step process:
>  </p>
>  
>  <p>
> -Firstly, you need to move the ebuild in CVS. To do this, you should
> +Firstly, you need to move the ebuild in the git tree. To do this, you should
>  copy the ebuild to its new location and commit that as you would with
>  a <uri link="#adding-a-new-ebuild">new ebuild</uri>.
>  </p>
> @@ -323,23 +323,17 @@ for <path>net-firewall/fwbuilder</path> when they are 
> available.
>  
>  <p>
>  Once this step is concluded, you are allowed to remove the old package.
> -Simply issue a <c>cvs remove -Rf $PN</c> in the package category and commit
> +Simply issue a <c>git rm -rf $PN</c> in the package category and commit
>  the changes afterwards with a meaningful commit message. Don't forget to 
> update
>  entries in files such as profiles/package.mask to reflect the new category. 
> Finally
>  remember to change the title to open bugs related to this package if needed.
>  </p>
>  
>  <pre caption="Removing a package">
> -net-misc # cvs rm -Rf fwbuilder
> -cvs remove: use `cvs commit' to remove these files permanently
> -net-misc # cvs ci -m "Moving net-misc/fwbuilder to net-firewall/fwbuilder."
> +net-misc # git rm -rf fwbuilder
> +net-misc # git commit --gpg-sign -m "Moving net-misc/fwbuilder to 
> net-firewall/fwbuilder."
>  </pre>
>  
> -<note>
> -CVS cannot destroy directories: it will simply not re-create them if
> -they are blank, providing you use CVS with the <c>-P</c> flag.
> -</note>
> -
>  </body>
>  </section>
>  
> 

How about git mv instead?


Reply via email to