SVN co path not found


#1

Hi

When doing svn operations with the svn-proxy on. I can do full checkout directly on the apache2 URL/port, but does not work with the rhodecode proxy:

A game3_test2/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/Layouts/Tall.wlt
svn: E160013: ‘/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode%20Test%20C%23%20Script%20(internal)-NewEditModeTest.cs.txt’ path not found

log:
cat /home/felix/.rccontrol/community-1/community.log | grep NewEditModeTest.cs

2017-03-30 09:09:56.471 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.183.160 Request to /game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode Test C# Script (internal)-NewEditModeTest.cs.txt time: 0.110s
[30/Mar/2017:09:09:56 +0000] GNCRN <2169> 192.168.183.160 rqt:0.216934 404 429 "GET:/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode Test C# Script (internal)-NewEditModeTest.cs.txt " usr:felix “-” “SVN/1.9.4 (x86_64-pc-linux-gnu) serf/1.3.8”

works from browser directly to apache2:

http://192.168.183.160:8090/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode%20Test%20C%23%20Script%20(internal)-NewEditModeTest.cs.txt

Any suggestions?


#2

It’s a know issue with “#” characters in the path

https://issues.rhodecode.com/issues/4306

This fix will be in the next release, until then you can apply the patch from the ticket


#3

Thanks Marcin - where is the patch and how do I apply it?


#4

Sorry it was in the ticket attached to the one i sent.

https://issues.rhodecode.com/issues/5227


#5

thanks I applied the patch, but fails with this file now:

svn: E160013: ‘/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__PlayMode%20Test%20MonoBehaviour%20C%23%20Script%20(internal)-NewPlayModeTestMonoBehaviour.cs.txt’ path not found

apache2:

83-Testing__PlayMode Test MonoBehaviour C# Script (internal)-NewPlayModeTestMonoBehaviour.cs.txt


#6

are you using the latest version of RhodeCode ?

Any chance for instructions how to reproduce this ?

Best


#7

Hi

I am running VERSION: 4.6.1, and not sure how to reproduce it, could the issue be in “simplesvn.py”?

Thanks
Felix


#8

But it fails for all my files with “#” char in the filename


#9

We’ll investigate this with given example path as your shown.

Best,


#10

Thanks let me know if I should test/do something

Felix


#11

We tested a simple example file file c#.cs and it works correctly with the PATCH applied.

And without this patch mentioned inside the ticket, we do get this:

/tmp # svn co http://admin@rc.dev:8080/svn-test
svn: E160013: '/svn-test/!svn/rvr/2/file%20c%23.cs' path not found

Did you restart the server AFTER the patch, and also removed the .pyc file ?


#12

Yes I am sure I did a restart, here is what I did:

“patch simplesvn.py < patch.txt”

(can I uploads the file somehow?)

MD5 (/Users/felix/Downloads/simplesvn.py) = 52710a70fd8845affdc69cee60be23bf


#13

It might be that the cached file is used, can you also remove a simplesvn.pyc from where you patched the file, and then restart ?


#14

after remove og “.pyc” file and manual restart it seems to work! - thanks again