ispCP - Board - Support
SVN problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: SVN problem (/thread-10617.html)

Pages: 1 2


SVN problem - nuke3d - 05-06-2010 12:33 AM

Hey
I'm maintaining a mercurial repository of ispcp with my own patches using hgsvn. Today I tried to update my local copy using "hgpullsvn" and I got some weird errors. So I tried to play with SVN by hand a bit and I get a lot of "svn: XXX path not found" and other errors. For example:

Code:
svn co http://isp-control.net/ispcp_svn/trunk -r1605
cd trunk
svn up
last message:
Code:
svn: '/ispcp_svn/!svn/bc/2813/trunk/gui/include/spGzip.php' path not found

Code:
svn up -r2082
last message:
Code:
svn: '/ispcp_svn/!svn/bc/1722/trunk/gui/include/class.critical-update.php' path not found

in case anyone uses hgsvn, the following is the actual error preventing me from continuing:
Code:
hgimportsvn -r2082 http://isp-control.net/ispcp_svn/trunk
output:
Code:
Traceback (most recent call last):
  File "/usr/bin/hgimportsvn", line 8, in <module>
    load_entry_point('hgsvn==0.1.8', 'console_scripts', 'hgimportsvn')()
  File "build/bdist.linux-i686/egg/hgsvn/run/hgimportsvn.py", line 124, in main
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 231, in get_last_svn_log_entry
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 206, in get_one_svn_log_entry
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 174, in run_svn_log
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 236, in run_svn
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 169, in run_command
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 142, in _run_raw_command
hgsvn.errors.ExternalCommandFailed: External program failed (return code 1): svn 'log' '--xml' '-v' '--stop-on-copy' '-r' '2082:1' '--limit' '1' 'http://isp-control.net/ispcp_svn/branches/omega-1.0.3'
svn: '/ispcp_svn/!svn/bc/2915/branches/omega-1.0.3' path not found

Somewhere in the SVN repo there must be a wrong reference to the nonexisting branch omega-1.0.3... Does anyone know what could cause this?
Another one, also rather interesting:
Code:
svn co -r2681 http://isp-control.net/ispcp_svn/trunk
cd trunk
svn up --ignore-externals --accept postpone -r 2693 .
output:
Code:
svn: Server sent unexpected return value (403 Forbidden) in response to PROPFIND request for '/ispcp_svn/branches/omega-1.0.5/gui/tools/webmail/plugins/msg_flags/locale/.htaccess'



RE: SVN problem - nuke3d - 05-06-2010 08:01 PM

Asking differently: Can anyone reproduce this?


RE: SVN problem - TheCry - 05-06-2010 08:05 PM

You have to use this
Code:
http://www.isp-control.net:800/ispcp_svn/trunk/
The port was changed!


RE: SVN problem - nuke3d - 05-07-2010 03:01 AM

Thanks! This solves the "path not found" and "forbidden" errors. However, the following command still gives the same error:
Code:
hgimportsvn -r2082 http://isp-control.net:8000/ispcp_svn/trunk
Code:
Traceback (most recent call last):
  File "/usr/bin/hgimportsvn", line 8, in <module>
    load_entry_point('hgsvn==0.1.8', 'console_scripts', 'hgimportsvn')()
  File "build/bdist.linux-i686/egg/hgsvn/run/hgimportsvn.py", line 67, in main
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 152, in get_svn_info
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 236, in run_svn
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 169, in run_command
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 142, in _run_raw_command
hgsvn.errors.ExternalCommandFailed: External program failed (return code 1): svn 'info' '--xml' '-r' '2082' 'http://isp-control.net:8000/ispcp_svn/trunk'
svn: OPTIONS of 'http://isp-control.net:8000/ispcp_svn/trunk': could not connect to server (http://isp-control.net:8000)

So there's probably still something wrong... But I can work around that.


RE: SVN problem - TheCry - 05-07-2010 03:07 AM

Sorry my friend... Not port 8000... Use port 800


RE: SVN problem - nuke3d - 05-07-2010 03:47 AM

Sorry, c&p mistake. Here again the reference to "branches/omega-1.0.3" which doesn't exist anymore:
Code:
hgimportsvn -r2082 http://isp-control.net:800/ispcp_svn/trunk
Code:
Traceback (most recent call last):
  File "/usr/bin/hgimportsvn", line 8, in <module>
    load_entry_point('hgsvn==0.1.8', 'console_scripts', 'hgimportsvn')()
  File "build/bdist.linux-i686/egg/hgsvn/run/hgimportsvn.py", line 124, in main
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 231, in get_last_svn_log_entry
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 206, in get_one_svn_log_entry
  File "build/bdist.linux-i686/egg/hgsvn/svnclient.py", line 174, in run_svn_log
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 236, in run_svn
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 169, in run_command
  File "build/bdist.linux-i686/egg/hgsvn/common.py", line 142, in _run_raw_command
hgsvn.errors.ExternalCommandFailed: External program failed (return code 1): svn 'log' '--xml' '-v' '--stop-on-copy' '-r' '2082:1' '--limit' '1' 'http://isp-control.net:800/ispcp_svn/branches/omega-1.0.3'
svn: '/ispcp_svn/!svn/bc/2916/branches/omega-1.0.3' path not found



RE: SVN problem - TheCry - 05-08-2010 11:49 PM

I'm not the guru of svn.. Wink
But the branche 1.0.3 doesn't exist any more.
Don't use this old "-r2082"...
I think u want to checkout an old changeset... 1.0.3 is taged...
If u want to checkout this version you should use this
Code:
hgimportsvn http://isp-control.net:800/ispcp_svn/tags/omega-1.0.3



RE: SVN problem - gOOvER - 05-09-2010 12:18 AM

If you want the new version 1.0.6, please checkout /trunk Wink


RE: SVN problem - nuke3d - 05-10-2010 05:04 AM

This works for updating directly to the latest version. What I've tried to do is to update revision by revision (actually, that's what hgsvn does to keep track of the changes). Somewhere along the line it fails because of the error above. I've skipped the broken parts manually now.


RE: SVN problem - bestmann - 06-24-2010 12:19 AM

How can I download the external using svn?

What do I need to download in addition?