Re: git-svnimport breakage as of git-1.4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$ 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@xxxxxxxxxxxx>:
On 04:00 Tue 12 Dec     , Dongsheng Song wrote:
> Sorry, I assume you have see http://tortoisesvn.tigris.org/:
>
> username : guest
> password : ""

Thanks, I can grab svn log now. Which command line you are using?

Sasha

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]