[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem checking out in windows a file with an invalid syntax

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 14 Sep 2008 20:37:35 +0300 (Jerusalem Daylight Time)

Stefano Sabatini wrote on Sun, 14 Sep 2008 at 16:19 +0200:
> Hi all,
>
> we have this problem checking out a file with an invalid syntax (in
> windows), using tortoise but I think the problem doesn't depend on
> that specific client.
>
> Here it is the specific error message:
> Error: Can't check path
> 'R:\path\to\file\*.dep': The filename, directory name, or volume label syntax is incorrect.
>

As expected, I see the same error (on Windows) when a file's name
contains a "*" character ...

> then the update or check out operation fails.
>
> Note that this doesn't seem a problem in linux, since that file syntax
> is valid in linux.
>
> Note also that the '*.dep' file has been already removed from the
> repository, as it was the residual of a make distclean rule which
> missed to remove that file.
>

... but after I remove the bad filename from HEAD, I don't have
a problem checking out again. (See transcript below.)

I'm not sure what is different in your environment (except the version;
I used a trunk build). Can you provide a transcript of 'svn ls -R' and
the failing 'svn co'? Are you sure the '*.dep' file does not exist in
HEAD?

> I googled around but with no luck, so my question is: there is some
> way to fix the problem, maybe acting on the repository?
>
> We also tried to completely remove the checked out dir and check out
> it from scratch, but with the same result.
>
> Many thanks in advance, regards.
>
> PS Please CC me in the reply, as I'm not subscribed.

Transcript:

C:\tmp\svn> rd/s/q repos1

C:\tmp\svn> svnadmin create repos1

C:\tmp\svn> svnadmin load --force-uuid repos1 < r1.dump
<<< Started new transaction, based on original revision 1
     * adding path : branches ... done.
     * adding path : tags ... done.
     * adding path : trunk ... done.
     * adding path : trunk/A ... done.
     * adding path : trunk/A/B ... done.
     * adding path : trunk/A/B/E ... done.
     * adding path : trunk/A/B/E/alpha ... done.
     * adding path : trunk/A/B/E/beta ... done.
     * adding path : trunk/A/B/F ... done.
     * adding path : trunk/A/B/lambda ... done.
     * adding path : trunk/A/C ... done.
     * adding path : trunk/A/D ... done.
     * adding path : trunk/A/D/G ... done.
     * adding path : trunk/A/D/G/pi ... done.
     * adding path : trunk/A/D/G/rho ... done.
     * adding path : trunk/A/D/G/tau ... done.
     * adding path : trunk/A/D/H ... done.
     * adding path : trunk/A/D/H/chi ... done.
     * adding path : trunk/A/D/H/omega ... done.
     * adding path : trunk/A/D/H/psi ... done.
     * adding path : trunk/A/D/gamma ... done.
     * adding path : trunk/A/mu ... done.
     * adding path : trunk/iot* ... done.

------- Committed revision 1 >>>

C:\tmp\svn> rd/s/q wc1

C:\tmp\svn> svn co file:///tmp//svn/repos1 wc1
A wc1\trunk
A wc1\trunk\A
A wc1\trunk\A\B
A wc1\trunk\A\B\lambda
A wc1\trunk\A\B\E
A wc1\trunk\A\B\E\alpha
A wc1\trunk\A\B\E\beta
A wc1\trunk\A\B\F
A wc1\trunk\A\mu
A wc1\trunk\A\C
A wc1\trunk\A\D
A wc1\trunk\A\D\gamma
A wc1\trunk\A\D\G
A wc1\trunk\A\D\G\pi
A wc1\trunk\A\D\G\rho
A wc1\trunk\A\D\G\tau
A wc1\trunk\A\D\H
A wc1\trunk\A\D\H\chi
A wc1\trunk\A\D\H\omega
A wc1\trunk\A\D\H\psi
..\..\..\subversion\libsvn_subr\io.c:149: (apr_err=720123)
svn: Can't check path 'wc1\trunk\iot*': The filename, directory name, or volume
label syntax is incorrect.

C:\tmp\svn> svn rm file:///tmp/svn/repos1/trunk/iot* -m "Remove 'iot*'"

Committed revision 2.

C:\tmp\svn> rd/s/q wc1

C:\tmp\svn> svn co file:///tmp//svn/repos1 wc1
A wc1\trunk
A wc1\trunk\A
A wc1\trunk\A\B
A wc1\trunk\A\B\lambda
A wc1\trunk\A\B\E
A wc1\trunk\A\B\E\alpha
A wc1\trunk\A\B\E\beta
A wc1\trunk\A\B\F
A wc1\trunk\A\mu
A wc1\trunk\A\C
A wc1\trunk\A\D
A wc1\trunk\A\D\gamma
A wc1\trunk\A\D\G
A wc1\trunk\A\D\G\pi
A wc1\trunk\A\D\G\rho
A wc1\trunk\A\D\G\tau
A wc1\trunk\A\D\H
A wc1\trunk\A\D\H\chi
A wc1\trunk\A\D\H\omega
A wc1\trunk\A\D\H\psi
A wc1\branches
A wc1\tags
Checked out revision 2.

C:\tmp\svn>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-14 19:38:33 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.