You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Paul Charlton <te...@byiq.com> on 2008/09/24 14:20:07 UTC
broken file name handling
"svn up" from http://svn.collab.net/repos/svn/mk.xiv fails from windows
clients (1.5 collab.net & tortoise)
as follows:
svn: Can't check path '?WHAT?.txt': The filename, directory name, or volume
label syntax is incorrect.
the repo browser shows "-WHAT-.txt"
It seems like the client and server don't agree on a canonical form for
filenames which may be incompatible with the underlying client file system.
Obviously in the short term, the problem can be fixed by renaming the file
in this project's repository.
a) I would appreciate a sanity check from a developer experienced with this
project
b) likewise, if there is a related bug already filed that someone on this
list knows about, I don't want to file a duplicate
c) I will also agree that there is likely no need to ever checkout the
specific file from this project's repository, but it did obtain an
"interesting" result.
d) as to who I am, why I care, etc ... I will do a proper introduction in a
separate posting. thanks.
Paul Charlton
ByIQ
5201 Great America Parkway, Suite 320
Santa Clara, CA, 95054
T: 650-641-0171
F: 650-649-2332
W: <http://www.linkedin.com/in/techguru>
http://www.linkedin.com/in/techguru
E: <ma...@byiq.com> techguru@byiq.com
CTO
Certified Guru
RE: RE: broken file name handling
Posted by Daniel Becroft <Da...@supercorp.com.au>.
> -----Original Message-----
> From: Daniel Becroft [mailto:Daniel.Becroft@supercorp.com.au]
> Sent: Thursday, October 02, 2008 8:04 PM
> To: Branko Cibej
> Cc: Karl Fogel; Paul Charlton; dev@subversion.tigris.org
> Subject: RE: broken file name handling
>
>
> > -----Original Message-----
> > From: Branko Cibej [mailto:brane@xbc.nu]
> > Sent: Wednesday, October 01, 2008 7:36 PM
> > To: Daniel Becroft
> > Cc: Karl Fogel; Paul Charlton; dev@subversion.tigris.org
> > Subject: Re: broken file name handling
> >
> > Daniel Becroft wrote:
> > >> -----Original Message-----
> > >> From: Karl Fogel [mailto:kfogel@red-bean.com]
> > >> Sent: Wednesday, 1 October 2008 12:19 PM
> > >> To: Paul Charlton
> > >> Cc: 'Branko Cibej'; dev@subversion.tigris.org
> > >> Subject: Re: broken file name handling
> > >>
> > >> "Paul Charlton" <te...@byiq.com> writes:
> > >>
> > >>> I can confirm that the current windows client is seeing the
> > >>> "?WHAT?.txt" when checking out root. (both Tortoise and
> > Collab.Net
> > >>> command line client).
> > >>>
> > >> More to the point, can you show us the exact command line
> > you ran, in
> > >> the latter case? And its output? And the working copy (if any)
> > >> afterwards? And the output of 'svn --version'?
> > >>
> > >> That would help a lot, thanks.
> > >>
> > >
> > > I do not encounter any of the problems seen with this file.
> > Below are
> > > the commands that I used to checkout the file(s) into a
> > fresh, clean
> > > working copy. I have also tried with Tortoise (v1.5.3), and
> > still do
> > > not have any issues.
> > >
> > > -----------------------------------------------
> > >
> > >> svn checkout http://svn.collab.net/repos/svn/mk.xiv
> > >>
> > > A mk.xiv\-WHAT-.txt
> > > A mk.xiv\REVLOG.txt
> > > Checked out revision 33369.
> > >
> >
> > The reports state that the problem occurs when you check
> out the root
> > of the repository, not the mk.xiv subdirectory.
>
> Okay, my mistake. I just checked out the root of the
> repository @ HEAD, both with v1.4.3 and 1.5.2 of the
> command-line client, and both instances worked correctly. No
> issues with the ?WHAT?.txt file appearing.
>
> Cheers,
> Daniel B.
Sorry, this was on Windows XP SP3.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: broken file name handling
Posted by Daniel Becroft <Da...@supercorp.com.au>.
> -----Original Message-----
> From: Branko Cibej [mailto:brane@xbc.nu]
> Sent: Wednesday, October 01, 2008 7:36 PM
> To: Daniel Becroft
> Cc: Karl Fogel; Paul Charlton; dev@subversion.tigris.org
> Subject: Re: broken file name handling
>
> Daniel Becroft wrote:
> >> -----Original Message-----
> >> From: Karl Fogel [mailto:kfogel@red-bean.com]
> >> Sent: Wednesday, 1 October 2008 12:19 PM
> >> To: Paul Charlton
> >> Cc: 'Branko Cibej'; dev@subversion.tigris.org
> >> Subject: Re: broken file name handling
> >>
> >> "Paul Charlton" <te...@byiq.com> writes:
> >>
> >>> I can confirm that the current windows client is seeing the
> >>> "?WHAT?.txt" when checking out root. (both Tortoise and
> Collab.Net
> >>> command line client).
> >>>
> >> More to the point, can you show us the exact command line
> you ran, in
> >> the latter case? And its output? And the working copy (if any)
> >> afterwards? And the output of 'svn --version'?
> >>
> >> That would help a lot, thanks.
> >>
> >
> > I do not encounter any of the problems seen with this file.
> Below are
> > the commands that I used to checkout the file(s) into a
> fresh, clean
> > working copy. I have also tried with Tortoise (v1.5.3), and
> still do
> > not have any issues.
> >
> > -----------------------------------------------
> >
> >> svn checkout http://svn.collab.net/repos/svn/mk.xiv
> >>
> > A mk.xiv\-WHAT-.txt
> > A mk.xiv\REVLOG.txt
> > Checked out revision 33369.
> >
>
> The reports state that the problem occurs when you check out
> the root of the repository, not the mk.xiv subdirectory.
Okay, my mistake. I just checked out the root of the repository @ HEAD,
both with v1.4.3 and 1.5.2 of the command-line client, and both
instances worked correctly. No issues with the ?WHAT?.txt file
appearing.
Cheers,
Daniel B.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: broken file name handling
Posted by Branko Čibej <br...@xbc.nu>.
Daniel Shahaf wrote:
> Branko Čibej wrote on Wed, 1 Oct 2008 at 11:35 +0200:
>
>> Daniel Becroft wrote:
>>
>>>> -----Original Message-----
>>>> From: Karl Fogel [mailto:kfogel@red-bean.com]
>>>> Sent: Wednesday, 1 October 2008 12:19 PM
>>>> To: Paul Charlton
>>>> Cc: 'Branko Cibej'; dev@subversion.tigris.org
>>>> Subject: Re: broken file name handling
>>>>
>>>> "Paul Charlton" <te...@byiq.com> writes:
>>>>
>>>>
>>>>> I can confirm that the current windows client is seeing the
>>>>> "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net
>>>>> command line client).
>>>>>
>>>>>
>>>> More to the point, can you show us the exact command line you
>>>> ran, in the latter case? And its output? And the working
>>>> copy (if any) afterwards? And the output of 'svn --version'?
>>>>
>>>> That would help a lot, thanks.
>>>>
>>>>
>>> I do not encounter any of the problems seen with this file. Below are
>>> the commands that I used to checkout the file(s) into a fresh, clean
>>> working copy. I have also tried with Tortoise (v1.5.3), and still do not
>>> have any issues.
>>>
>>> -----------------------------------------------
>>>
>>>
>>>> svn checkout http://svn.collab.net/repos/svn/mk.xiv
>>>>
>>>>
>>> A mk.xiv\-WHAT-.txt
>>> A mk.xiv\REVLOG.txt
>>> Checked out revision 33369.
>>>
>>>
>> The reports state that the problem occurs when you check out the root of
>> the repository, not the mk.xiv subdirectory.
>>
>
> And when I do that (after passing the repository through 'svndumpfilter
> include /mk.xiv'), I get no error.
>
Wow. Extremely broken indeed.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: broken file name handling
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Branko Čibej wrote on Wed, 1 Oct 2008 at 11:35 +0200:
> Daniel Becroft wrote:
> >> -----Original Message-----
> >> From: Karl Fogel [mailto:kfogel@red-bean.com]
> >> Sent: Wednesday, 1 October 2008 12:19 PM
> >> To: Paul Charlton
> >> Cc: 'Branko Cibej'; dev@subversion.tigris.org
> >> Subject: Re: broken file name handling
> >>
> >> "Paul Charlton" <te...@byiq.com> writes:
> >>
> >>> I can confirm that the current windows client is seeing the
> >>> "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net
> >>> command line client).
> >>>
> >> More to the point, can you show us the exact command line you
> >> ran, in the latter case? And its output? And the working
> >> copy (if any) afterwards? And the output of 'svn --version'?
> >>
> >> That would help a lot, thanks.
> >>
> >
> > I do not encounter any of the problems seen with this file. Below are
> > the commands that I used to checkout the file(s) into a fresh, clean
> > working copy. I have also tried with Tortoise (v1.5.3), and still do not
> > have any issues.
> >
> > -----------------------------------------------
> >
> >> svn checkout http://svn.collab.net/repos/svn/mk.xiv
> >>
> > A mk.xiv\-WHAT-.txt
> > A mk.xiv\REVLOG.txt
> > Checked out revision 33369.
> >
>
> The reports state that the problem occurs when you check out the root of
> the repository, not the mk.xiv subdirectory.
And when I do that (after passing the repository through 'svndumpfilter
include /mk.xiv'), I get no error.
Daniel
Re: broken file name handling
Posted by Branko Čibej <br...@xbc.nu>.
Daniel Becroft wrote:
>> -----Original Message-----
>> From: Karl Fogel [mailto:kfogel@red-bean.com]
>> Sent: Wednesday, 1 October 2008 12:19 PM
>> To: Paul Charlton
>> Cc: 'Branko Cibej'; dev@subversion.tigris.org
>> Subject: Re: broken file name handling
>>
>> "Paul Charlton" <te...@byiq.com> writes:
>>
>>> I can confirm that the current windows client is seeing the
>>> "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net
>>> command line client).
>>>
>> More to the point, can you show us the exact command line you
>> ran, in the latter case? And its output? And the working
>> copy (if any) afterwards? And the output of 'svn --version'?
>>
>> That would help a lot, thanks.
>>
>
> I do not encounter any of the problems seen with this file. Below are
> the commands that I used to checkout the file(s) into a fresh, clean
> working copy. I have also tried with Tortoise (v1.5.3), and still do not
> have any issues.
>
> -----------------------------------------------
>
>> svn checkout http://svn.collab.net/repos/svn/mk.xiv
>>
> A mk.xiv\-WHAT-.txt
> A mk.xiv\REVLOG.txt
> Checked out revision 33369.
>
The reports state that the problem occurs when you check out the root of
the repository, not the mk.xiv subdirectory.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: Re: broken file name handling
Posted by Daniel Becroft <Da...@supercorp.com.au>.
> -----Original Message-----
> From: Karl Fogel [mailto:kfogel@red-bean.com]
> Sent: Wednesday, 1 October 2008 12:19 PM
> To: Paul Charlton
> Cc: 'Branko Cibej'; dev@subversion.tigris.org
> Subject: Re: broken file name handling
>
> "Paul Charlton" <te...@byiq.com> writes:
> > I can confirm that the current windows client is seeing the
> > "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net
> > command line client).
>
> More to the point, can you show us the exact command line you
> ran, in the latter case? And its output? And the working
> copy (if any) afterwards? And the output of 'svn --version'?
>
> That would help a lot, thanks.
I do not encounter any of the problems seen with this file. Below are
the commands that I used to checkout the file(s) into a fresh, clean
working copy. I have also tried with Tortoise (v1.5.3), and still do not
have any issues.
-----------------------------------------------
> svn checkout http://svn.collab.net/repos/svn/mk.xiv
A mk.xiv\-WHAT-.txt
A mk.xiv\REVLOG.txt
Checked out revision 33369.
> svn info mk.xiv
Path: mk.xiv
URL: http://svn.collab.net/repos/svn/mk.xiv
Repository Root: http://svn.collab.net/repos/svn
Repository UUID: 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
Revision: 33369
Node Kind: directory
Schedule: normal
Last Changed Author: brane
Last Changed Rev: 28724
Last Changed Date: 2008-01-03 07:15:04 +1000 (Thu, 03 Jan 2008)
> svn --version
svn, version 1.5.2 (r32768)
compiled Aug 29 2008, 18:45:49
Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
- handles 'http' scheme
- handles 'https' scheme
-----------------------------------------------
I did encounter some inconsistencies with filenames containing a '?', or
other unusual character, which I will raise on the users@ list.
Cheers,
Daniel B.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: broken file name handling
Posted by Paul Charlton <te...@byiq.com>.
I'll try to get a minimalist test case which reproduces the issue by the end
of this week.
-----Original Message-----
From: Karl Fogel [mailto:kfogel@red-bean.com]
Sent: Tuesday, September 30, 2008 7:19 PM
To: Paul Charlton
Cc: 'Branko Čibej'; dev@subversion.tigris.org
Subject: Re: broken file name handling
"Paul Charlton" <te...@byiq.com> writes:
> I can confirm that the current windows client is seeing the
> "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net
> command line client).
More to the point, can you show us the exact command line you ran, in
the latter case? And its output? And the working copy (if any)
afterwards? And the output of 'svn --version'?
That would help a lot, thanks.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: broken file name handling
Posted by Karl Fogel <kf...@red-bean.com>.
"Paul Charlton" <te...@byiq.com> writes:
> I can confirm that the current windows client is seeing the
> "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net
> command line client).
More to the point, can you show us the exact command line you ran, in
the latter case? And its output? And the working copy (if any)
afterwards? And the output of 'svn --version'?
That would help a lot, thanks.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: broken file name handling
Posted by Branko Čibej <br...@xbc.nu>.
Paul Charlton wrote:
> I can confirm that the current windows client is seeing the "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net command line client).
>
> If it has been previously reported on this list, is there an open bug report?
>
Not that I know of ... I'm only a casual lurker these days :)
Could you submit an issue about this to the tracker, if there isn't one yet?
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: broken file name handling
Posted by Paul Charlton <te...@byiq.com>.
I can confirm that the current windows client is seeing the "?WHAT?.txt" when checking out root. (both Tortoise and Collab.Net command line client).
If it has been previously reported on this list, is there an open bug report?
thanks,
Paul
-----Original Message-----
From: Branko Čibej [mailto:brane@xbc.nu]
Sent: Tuesday, September 30, 2008 10:41 AM
To: Paul Charlton
Cc: 'Karl Fogel'; dev@subversion.tigris.org
Subject: Re: broken file name handling
Paul Charlton wrote:
> Karl,
>
> Thanks for researching that ... but it does not explain how the bad name
> ever got into the Windows working copy. We started with an empty working
> copy, and simply did "svn co URL/" to create the wc from the remote repo.
> At some point, the "svn co" failed with the error noted below, and ever
> after the "svn up" reproduces the same message. The behavior is different
> (and correct) if you begin with "svn co URL/mk.xiv/" ... (ie: checkout
> project vs checkout root)
>
> The undesired behavior is totally reproducible on the SVN repository itself
> and was pointed out to me by a colleague.
>
This is clearly wrong and has been reported before on this list, IIRC. A
client that checks out the HEAD of the root of our repository should
never see that old ?WHAT?.txt mentioned, ever.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: broken file name handling
Posted by Branko Čibej <br...@xbc.nu>.
Paul Charlton wrote:
> Karl,
>
> Thanks for researching that ... but it does not explain how the bad name
> ever got into the Windows working copy. We started with an empty working
> copy, and simply did "svn co URL/" to create the wc from the remote repo.
> At some point, the "svn co" failed with the error noted below, and ever
> after the "svn up" reproduces the same message. The behavior is different
> (and correct) if you begin with "svn co URL/mk.xiv/" ... (ie: checkout
> project vs checkout root)
>
> The undesired behavior is totally reproducible on the SVN repository itself
> and was pointed out to me by a colleague.
>
This is clearly wrong and has been reported before on this list, IIRC. A
client that checks out the HEAD of the root of our repository should
never see that old ?WHAT?.txt mentioned, ever.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: broken file name handling
Posted by Paul Charlton <te...@byiq.com>.
Karl,
Thanks for researching that ... but it does not explain how the bad name
ever got into the Windows working copy. We started with an empty working
copy, and simply did "svn co URL/" to create the wc from the remote repo.
At some point, the "svn co" failed with the error noted below, and ever
after the "svn up" reproduces the same message. The behavior is different
(and correct) if you begin with "svn co URL/mk.xiv/" ... (ie: checkout
project vs checkout root)
The undesired behavior is totally reproducible on the SVN repository itself
and was pointed out to me by a colleague.
-----Original Message-----
From: Karl Fogel [mailto:kfogel@red-bean.com]
Sent: Tuesday, September 30, 2008 8:57 AM
To: Paul Charlton
Cc: dev@subversion.tigris.org
Subject: Re: broken file name handling
"Paul Charlton" <te...@byiq.com> writes:
> "svn up" from http://svn.collab.net/repos/svn/mk.xiv fails from
> windows clients (1.5 collab.net & tortoise) as follows:
>
> svn: Can't check path '?WHAT?.txt': The filename, directory name, or
volume
> label syntax is incorrect.
>
> the repo browser shows "-WHAT-.txt"
>
> It seems like the client and server don't agree on a canonical form for
> filenames which may be incompatible with the underlying client file
system.
>
> Obviously in the short term, the problem can be fixed by renaming the file
in
> this project's repository.
>
> a) I would appreciate a sanity check from a developer experienced with
this
> project
It looks like renaming is exactly what happened, in r28723:
------------------------------------------------------------------------
r28723 | brane | 2008-01-02 15:13:51 -0500 (Wed, 02 Jan 2008) | 1 line
Changed paths:
A /mk.xiv/-WHAT-.txt (from /mk.xiv/?WHAT?.txt:28722)
D /mk.xiv/?WHAT?.txt
* mk.xiv/-WHAT-.txt: Renamed from ?WHAT?.txt so it can be read on
Windows.
The reason your 'update' failed on Windows is because you still have the
old filename (somehow), and Subversion is trying to access that path as
part of changing its name, as part of the update.
If there's a bug here, it's that we created a file (during checkout) on
Windows that we can't later update. The solution would be to not create
it in the first place, but to error instead, perhaps. In the meantime,
you could work around this by just removing the directory and
re-updating, I think. (I don't have a Windows box to test with.)
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: broken file name handling
Posted by Karl Fogel <kf...@red-bean.com>.
"Paul Charlton" <te...@byiq.com> writes:
> "svn up" from http://svn.collab.net/repos/svn/mk.xiv fails from
> windows clients (1.5 collab.net & tortoise) as follows:
>
> svn: Can't check path '?WHAT?.txt': The filename, directory name, or volume
> label syntax is incorrect.
>
> the repo browser shows "-WHAT-.txt"
>
> It seems like the client and server don't agree on a canonical form for
> filenames which may be incompatible with the underlying client file system.
>
> Obviously in the short term, the problem can be fixed by renaming the file in
> this project's repository.
>
> a) I would appreciate a sanity check from a developer experienced with this
> project
It looks like renaming is exactly what happened, in r28723:
------------------------------------------------------------------------
r28723 | brane | 2008-01-02 15:13:51 -0500 (Wed, 02 Jan 2008) | 1 line
Changed paths:
A /mk.xiv/-WHAT-.txt (from /mk.xiv/?WHAT?.txt:28722)
D /mk.xiv/?WHAT?.txt
* mk.xiv/-WHAT-.txt: Renamed from ?WHAT?.txt so it can be read on Windows.
The reason your 'update' failed on Windows is because you still have the
old filename (somehow), and Subversion is trying to access that path as
part of changing its name, as part of the update.
If there's a bug here, it's that we created a file (during checkout) on
Windows that we can't later update. The solution would be to not create
it in the first place, but to error instead, perhaps. In the meantime,
you could work around this by just removing the directory and
re-updating, I think. (I don't have a Windows box to test with.)
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org