--- Frodak <frodak17@yahoo.com> wrote:
>
> --- Luca Cappa <luca.cappa@sequoia.it> wrote:
>
> > Hello Frodak,
> >
> > On Tue, 06 Feb 2007 06:06:48 -0800, Frodak
> > <frodak17@yahoo.com> wrote:
> > > I can't reproduce this issue. While cygwin does
> > do
> > > exe magic, I don't have problems with this.
> > >
> > > Add the export works fine:
> > > $ svn export file:///svn/test/exe test_export
> > > A test_export
> > > A test_export/file
> > > A test_export/file/new_sub_file.txt
> > > A test_export/file.exe
> > >
> > > Exported revision 30.
> > >
> > > Perhaps you are using a old version of cygwin?
> >
> > I keep cygwin up to date often, i do not think it
> is
> > an old version.
> > Anyhow, as I stated in my email, the bug does not
> > happen if the directory
> > is exported before the .exe. Try to export
> manually
> > the .exe and then the
> > directory to get the error, i.e.:
> >
> > svn export --force file://svn/test/file.exe .
> > svn export --force file://svn/test/file .
> >
> > Let me know,
> > Luca
>
> Sorry about the confusion...
>
> I did try it both ways and had no issue. Now trying
> it again I think I know what the problem is.
>
> If file.exe and file both already exist there will
> be
> no problems. (This is how it was when trying it out
> the different combination)
>
> If they don't exist the order does matter.
>
I think the source of the issue is how cygwin's
version of stat performs exe magic. So if file exists
it'll get return information about file, if file
doesn't exist but file.exe does exist, stat returns
information about file.exe.
If I recall correctly most things that NEED to work
around this have been updated to use something other
then stat to see if the object exists.
I don't think you'll run into the problem often
though. I think that the directory would normally
always be exported first.
Sorry, I couldn't be more helpful.
Frodak
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 6 18:55:52 2007