From: "Ray Chuan" <rctay89@gmail.com>
To: git@vger.kernel.org
Subject: [git/perl/cygwin] Permission denied at /usr/bin/git-svn line 2339
Date: Mon, 4 Aug 2008 13:16:16 +0800 [thread overview]
Message-ID: <be6fef0d0808032216r3d965562u447d435ca99c18c7@mail.gmail.com> (raw)
Hi,
i'm encountering an issue with git-svn running on cygwin (not sure if
this is exclusive to cygwin) when migrating data from svn to git.
$ git-svn clone file:///F:/test/svn-native-repo/
Initialized empty Git repository in /cygdrive/F/test/git/svn-native-repo/.git/
A sitemap.html
A funcs.js
A index.html
A styles.css
r1 = d112a5b470fd4387c7bbb7199d0d7a065754b127 (git-svn)
Permission denied: Can't open
'/cygdrive/c/DOCUME~1/myself/LOCALS~1/Temp/report.tmp': Permission
denied at /usr/bin/git-svn line 2339
the repo used was a dummy subversion repo with 2 revisions: an add,
and a modification commit. (dump file here [1])
i suspect this is caused by locks over files. using perl -d:
$ perl -d /usr/bin/git-svn clone file:///F:/test/svn-native-repo/
c 3995
c 3995
c 3838
s
c 85
SVN::Ra::AUTOLOAD(/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/SVN/Ra.pm:85):
85: my @ret = $func->($self->{session}, @_);
immediately after this line the error is generated.
a fix would be to issue closes to the processes, as in
Git::_close_hash_and_insert_object and Git::_close_cat_blob:
767a768
> $self->_close_hash_and_insert_object();
856a858
> $self->_close_cat_blob();
(Note: currently this doesn't fix the issue too, cos the methods do
not do their job properly (on my side, at least): see
http://article.gmane.org/gmane.comp.version-control.git/91314
)
my environment is:
- win xp home sp2
- Cygwin: 1.5.25-15 (latest)
- Git: 1.5.6.4-1 (latest)
- subversion-perl: 1.4.6-3 (latest)
- Perl: 5.10.0-5 (latest)
[1] http://thelilaeanbellis.com/shared/svn-native-repo.dump
reply other threads:[~2008-08-04 5:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be6fef0d0808032216r3d965562u447d435ca99c18c7@mail.gmail.com \
--to=rctay89@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).