It would be better to add some comment at the top of the script,  describing
- what it is needed for  (whether it initializes "git", "svn" or "git-svn"),
- how often it has to be run ("once"? Though maybe more often if the
authors file is updated).

Or maybe just mention that the file is described elsewhere, or follows
some procedure described elsewhere.

It may be worth adding the AL header (though some say that trivial
files do not need it).

Best regards,
Konstantin Kolinko

2012/11/6  <ol...@apache.org>:
> Author: olamy
> Date: Mon Nov  5 21:59:43 2012
> New Revision: 1405980
>
> URL: http://svn.apache.org/viewvc?rev=1405980&view=rev
> Log:
> add init-git-svn.sh script to ease git svn setup
>
> Added:
>     tomcat/maven-plugin/trunk/init-git-svn.sh   (with props)
>
> Added: tomcat/maven-plugin/trunk/init-git-svn.sh
> URL: 
> http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/init-git-svn.sh?rev=1405980&view=auto
> ==============================================================================
> --- tomcat/maven-plugin/trunk/init-git-svn.sh (added)
> +++ tomcat/maven-plugin/trunk/init-git-svn.sh Mon Nov  5 21:59:43 2012
> @@ -0,0 +1,4 @@
> +cd .git;wget http://git.apache.org/authors.txt; cd ..
> +git config svn.authorsfile ".git/authors.txt"
> +git svn init --prefix=origin/ --tags=tags --trunk=trunk --branches=branches 
> https://svn.apache.org/repos/asf/tomcat/maven-plugin/
> +git svn rebase
>
> Propchange: tomcat/maven-plugin/trunk/init-git-svn.sh
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Propchange: tomcat/maven-plugin/trunk/init-git-svn.sh
> ------------------------------------------------------------------------------
>     svn:executable = *
>
> Propchange: tomcat/maven-plugin/trunk/init-git-svn.sh
> ------------------------------------------------------------------------------
>     svn:keywords = Author Date Id Revision
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to