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

File containing % character - can't delete, rename, etc.

From: Keith Chuvala <keith.g.chuvala_at_nasa.gov>
Date: Fri, 27 Jan 2017 09:10:23 -0800 (PST)

Possible bug related to handling of % in Windows filenames. I found a workaround (see below), but think this might be worth a deeper look by someone on the development team.

This file was added via the GUI (likely via drag & drop) to a repo housed on a Windows server share:

file:///M:/.../Ikayaki Schedule 2017_01_24 rev e (50%, delegated, coordinated).mpp

From that point on whatever operations the user attempted on that file resulted in an error dialog about an illegal filename.

I had the user try to rename the file, delete the file, etc., all to no avail.

Ultimately I solved the problem from the command line:

svn rename ^
  "file:///M:/.../Ikayaki Schedule 2017_01_24 rev e (50%, delegated, coordinated).mpp" ^
  "file:///M:/svn/SSCSystem6/1.2 Project Planning/Ikayaki Schedule 2017_01_24 rev e (half, delegated, coordinated).mpp" ^
  -m "For delete"

Committing transaction...
Committed revision XXXX.

So I suspect the % is being properly escaped on the add/import operation, but not on the other operations that failed.

I asked the user how she had added the file, but she could not recall if it was a context menu->Add, or an import via drag & drop. I've seen her work enough to suspect the latter.

I've looked through the bug tracker and don't see anything that matches up with this issue directly.

kgc

____________________________________

Version info:

TortoiseSVN 1.9.5, Build 27581 - 64 Bit , 2016/11/26 09:18:58
Subversion 1.9.5, -release
apr 1.5.2
apr-util 1.5.4
serf 1.3.9
OpenSSL 1.0.2j 26 Sep 2016
zlib 1.2.8
SQLite 3.14.1

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3205253

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-01-27 18:37:33 CET

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

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