Current time: 11-30-2024, 02:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
SVN problem
Author Message
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #1
SVN problem
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'
(This post was last modified: 05-06-2010 12:57 AM by nuke3d.)
05-06-2010 12:33 AM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #2
RE: SVN problem
Asking differently: Can anyone reproduce this?
05-06-2010 08:01 PM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #3
RE: SVN problem
You have to use this
Code:
http://www.isp-control.net:800/ispcp_svn/trunk/
The port was changed!
05-06-2010 08:05 PM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #4
RE: SVN problem
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.
05-07-2010 03:01 AM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #5
RE: SVN problem
Sorry my friend... Not port 8000... Use port 800
05-07-2010 03:07 AM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #6
RE: SVN problem
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
05-07-2010 03:47 AM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #7
RE: SVN problem
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
05-08-2010 11:49 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #8
RE: SVN problem
If you want the new version 1.0.6, please checkout /trunk Wink
05-09-2010 12:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #9
RE: SVN problem
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.
05-10-2010 05:04 AM
Find all posts by this user Quote this message in a reply
bestmann Offline


Posts: 1
Joined: Jun 2010
Reputation: 0
Post: #10
RE: SVN problem
How can I download the external using svn?

What do I need to download in addition?
06-24-2010 12:19 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)