public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* git-svn hang starting with 20110721 snapshot.
@ 2011-08-02 17:59 David Rothenberger
  2011-08-03  8:45 ` Corinna Vinschen
  0 siblings, 1 reply; 18+ messages in thread
From: David Rothenberger @ 2011-08-02 17:59 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

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  ----  daveroth@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.

[-- Attachment #2: reproduce.sh --]
[-- Type: text/plain, Size: 857 bytes --]

#!/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


[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-08-04  8:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 17:59 git-svn hang starting with 20110721 snapshot David Rothenberger
2011-08-03  8:45 ` Corinna Vinschen
2011-08-03 13:46   ` Christopher Faylor
2011-08-03 14:00     ` Christopher Faylor
2011-08-03 14:56       ` Corinna Vinschen
2011-08-03 15:01         ` Corinna Vinschen
2011-08-03 15:15         ` perl.exe has wrong base address (was Re: git-svn hang starting with 20110721 snapshot.) Christopher Faylor
2011-08-04  7:07           ` Reini Urban
2011-08-03 18:03       ` git-svn hang starting with 20110721 snapshot Christopher Faylor
2011-08-03 18:40         ` David Rothenberger
2011-08-03 19:03           ` Corinna Vinschen
2011-08-03 20:02             ` Yaakov (Cygwin/X)
2011-08-03 20:20               ` Corinna Vinschen
2011-08-03 20:26                 ` Corinna Vinschen
2011-08-03 20:33                 ` David Rothenberger
2011-08-03 20:43                   ` David Rothenberger
2011-08-04  8:29                     ` Corinna Vinschen
2011-08-04  8:29                   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).