[ 
https://issues.apache.org/jira/browse/LUCENE-6922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Elschot updated LUCENE-6922:
---------------------------------
    Attachment: svnBranchToGit.py

Script of 16 December 2015. This was a major overhaul:

Added a verifyGitFilesAgainstSvn function that is only called when the local 
git repo is completely up to date with the remote svn repository. This takes 
almost 20 seconds here, but it might be made faster.

Work by checking out svn revisions instead of by asking svn to provide a patch 
for each revision. This is a nice speed up (to about 1 second per commit now), 
and it is also much easier to handle binary files.

Added setting file protection bits from svn to git for the files that are 
changed. Svn properties are still completely ignored, except that when there is 
property change, the file protection bits are also set.

Made the script work under both python 2 and python 3.


> Improve svn to git workaround script
> ------------------------------------
>
>                 Key: LUCENE-6922
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6922
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: -tools
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: svnBranchToGit.py, svnBranchToGit.py
>
>
> As the git-svn mirror for Lucene/Solr will be turned off near the end of 
> 2015, try and improve the workaround script to become more usable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to