I use git-svn extensively in my day-to-day work, and I noticed with
recent snapshots that some of the git-svn commands are hanging. I
narrowed it down to the 20110721 snapshot. 20110713 is the last one
that works fine.

I realize this isn't exactly a STC, but I don't have the time right
now to narrow it down further (or the skills, really). I've attached
a script which reproduces the problem. It requires svn and
git-svn. In the script, the first "git svn init" command hangs with
20110721, but the entire script succeeds with 20110713.

I hope this is enough information to track down the problem, because
I was absolutely LOVING the speed increase in 20110801.

-- 
David Rothenberger  ----  daver...@acm.org

Captain Penny's Law:
        You can fool all of the people some of the time, and
        some of the people all of the time, but you Can't Fool Mom.
#!/bin/bash
D=/tmp/git-svn-problem.$$
mkdir $D
echo "Created $D"
#trap { x=$?; rm -fr $D; exit $x; } SIGINT SIGHUP EXIT

#D=$PWD
#rm -fr repos
#rm -fr work

R=${D}/repos
RURL=file://$R

echo "Creating an SVN repository and workspace."

# Create the SVN repository
svnadmin create $R

# Create a work space
W=${D}/work
svn co $RURL $W
cd $W
svn mkdir tags trunk branches
date > trunk/file1
svn add trunk/file1
svn ci -m 'Initial version'

# Initialize using git-svn
echo ""
echo "Initializing with git svn."
echo "This hangs with recent snapshots."
cd trunk
git svn init -s $RURL
rm file1
git svn fetch --all

echo ""
echo "Making a change in svn, then doing git svn rebase --all."
echo "git svn rebase --all also hangs."

# Make a change in svn
date > file1
svn ci -m 'Updated file1'

# git svn rebase --all
git reset --hard
git svn rebase --all
rm -fr $D

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to