| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,TW_SV |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4E383AC9.4000406@acm.org> |
| Date: | Tue, 02 Aug 2011 10:58:33 -0700 |
| From: | David Rothenberger <daveroth AT acm DOT org> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
| MIME-Version: | 1.0 |
| To: | cygwin <cygwin AT cygwin DOT com> |
| Subject: | git-svn hang starting with 20110721 snapshot. |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------050006090900030600090407
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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 AT acm DOT 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.
--------------050006090900030600090407
Content-Type: text/plain;
name="reproduce.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="reproduce.sh"
#!/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
--------------050006090900030600090407
Content-Type: text/plain; charset=us-ascii
--
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
--------------050006090900030600090407--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |