* [git/perl/cygwin] Permission denied at /usr/bin/git-svn line 2339
@ 2008-08-04 5:16 Ray Chuan
0 siblings, 0 replies; only message in thread
From: Ray Chuan @ 2008-08-04 5:16 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-04 5:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 5:16 [git/perl/cygwin] Permission denied at /usr/bin/git-svn line 2339 Ray Chuan
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).