Re: git-svnimport breakage as of git-1.4.4

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sasha Khapyorsky <sashak@...>
Cc: Daniel Drake <ddrake@...>, <git@...>
Date: Monday, December 11, 2006 - 5:01 pm

$ cat svn2git-tortoisesvn.sh
#!/bin/sh

export LC_ALL=C
export WC_ROOT=/home/cauchy/wc/git
export REPO_NAME=tortoisesvn

echo "[`date`] Start import & pack ..."
mr=0
while [ $mr -le 9000 ]; do

    if test -f $WC_ROOT/$REPO_NAME/.git/SVN2GIT_HEAD; then
        echo "[`date`] clean up ..."
        cd $WC_ROOT/$REPO_NAME
        git-read-tree -m -u SVN2GIT_HEAD HEAD && rm -f .git/SVN2GIT_HEAD
        echo "[`date`] clean up finished"
    fi

    mr=$(($mr + 1000))
    echo "[`date`] Start import up to revison $mr ..."

    git-svnimport -v -i -r -o master -l $mr -C $WC_ROOT/$REPO_NAME
http://tortoisesvn.tigris.org/svn/tortoisesvn

    echo "[`date`] Finish import up to revison $mr"

    cd $WC_ROOT/$REPO_NAME && git-repack -a -d --window=64 --depth=64

    echo "[`date`] Finish repack revison $mr"
    cd $WC_ROOT/$REPO_NAME && find .git -name pack | xargs ls -l
done
echo "[`date`] Finished import & pack"


2006/12/12, Sasha Khapyorsky <sashak@voltaire.com>:
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svnimport breakage as of git-1.4.4, Daniel Drake, (Thu Dec 7, 11:26 am)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Fri Dec 8, 4:32 pm)
Re: git-svnimport breakage as of git-1.4.4, Daniel Drake, (Mon Dec 11, 10:27 am)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Mon Dec 11, 4:49 pm)
Re: git-svnimport breakage as of git-1.4.4, Daniel Drake, (Wed Dec 13, 12:28 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Wed Dec 13, 10:21 pm)
Re: git-svnimport breakage as of git-1.4.4, Daniel Drake, (Thu Dec 14, 5:05 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Thu Dec 14, 5:20 pm)
Re: git-svnimport breakage as of git-1.4.4, Junio C Hamano, (Thu Dec 14, 5:32 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Thu Dec 14, 5:43 pm)
Re: git-svnimport breakage as of git-1.4.4, Daniel Drake, (Mon Dec 11, 5:03 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Mon Dec 11, 6:03 pm)
Re: git-svnimport breakage as of git-1.4.4, Dongsheng Song, (Sat Dec 9, 11:49 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Sun Dec 10, 7:47 am)
Re: git-svnimport breakage as of git-1.4.4, Dongsheng Song, (Mon Dec 11, 4:00 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Mon Dec 11, 4:50 pm)
Re: git-svnimport breakage as of git-1.4.4, Dongsheng Song, (Mon Dec 11, 5:01 pm)
Re: git-svnimport breakage as of git-1.4.4, Sasha Khapyorsky, (Wed Dec 13, 10:25 pm)