svn can't update due to illegal file name

67 views
Skip to first unread message

Alex Wang

unread,
Dec 19, 2017, 7:14:22 AM12/19/17
to TortoiseSVN
When I try to svn update, it shows the error as the attached file. I know it may caused by a illegal file name "*", which is created in Linux. But even after I remove the file and do commit in Linux, it still can't update in windows. I also do cleanup in windows, same result. What can I do?

Thanks,
Alex
 
svn_error.png

Niemann, Hartmut

unread,
Dec 19, 2017, 7:32:53 AM12/19/17
to TortoiseSVN on behalf of Alex Wang

Can you rename the offending file in the repo browser?

 

Mit freundlichen Grüßen
Dr. Hartmut Niemann


--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/6d9068b0-8427-4833-acb4-2705a51034fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Wang

unread,
Dec 19, 2017, 7:46:00 PM12/19/17
to TortoiseSVN
This file "*" has been removed from Linux. I can't see it in Repo browser.

Alex


On Tuesday, December 19, 2017 at 8:32:53 PM UTC+8, H. Niemann wrote:

Can you rename the offending file in the repo browser?

 

Mit freundlichen Grüßen
Dr. Hartmut Niemann


Stefan

unread,
Dec 20, 2017, 4:25:34 PM12/20/17
to TortoiseSVN


On Wednesday, December 20, 2017 at 1:46:00 AM UTC+1, Alex Wang wrote:
This file "*" has been removed from Linux. I can't see it in Repo browser.

You have to check out a fresh working copy. Your current one is now corrupted by the illegal filename.

Alex Wang

unread,
Dec 21, 2017, 12:36:37 AM12/21/17
to torto...@googlegroups.com
If it's corrupted, but why if I operate on Linux, everything is ok. This only happens on windows. I think maybe there are something wrong only in local data on Windows. The repository is very large now, I really don't want to check out again. Is there any way to fix the problem?

Stefan

unread,
Dec 23, 2017, 3:04:15 AM12/23/17
to TortoiseSVN


On Thursday, December 21, 2017 at 6:36:37 AM UTC+1, Alex Wang wrote:
If it's corrupted, but why if I operate on Linux, everything is ok. This only happens on windows. I think maybe there are something wrong only in local data on Windows. The repository is very large now, I really don't want to check out again. Is there any way to fix the problem?

The char is not allowed as being part of a filename or path on Windows. That's why you get the error. And that's why the working copy is now corrupted.
There's no easy way to fix such a corrupted working copy - it would require editing internal files and SQLite DBs manually.
Best way is to check out a fresh working copy.

Also for the future: make sure that you don't commit files with the same name that only differ in case (e.g., "file.txt" and "File.txt") on Linux, because on Windows that will get you also a corrupted working copy: the Windows file system is case insensitive and two such files would therefore cause conflicts.

Stefan

buwei wang

unread,
Dec 23, 2017, 5:55:04 AM12/23/17
to TortoiseSVN on behalf of Stefan
That's a bad news for me. Anyway, thanks for the clarification.

Alex

--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn/Q_I-rBVBFg4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/87022d05-11ab-4e27-84fd-11c2e6451d6a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages