I have to change my SVN repo URL so I run:
svn relocate [new_url]
Output:
svn: E170011: Repository moved temporarily to [new_url]
Running echo $?
gives 1
back.
Operations like checkout
are also causing the same issue.
Both [new_url]
s are the same.
But when I run svn info
it still shows the old URL.
If I try to commit changes it goes to the old repo.
How do I fix this issue? I'm using Subversion with Git for Windows.
I'm not using git-svn
, I'm using the original subversion CLI.
Edit:
On the SVN server, I run this command:
svn checkout http://localhost/svn/testrepo
And it outputs:
Redirecting to URL 'http://localhost/svn/testrepo/':
svn: /build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_subr/dirent_uri.c:1562: uri_skip_ancestor: Assertion `svn_uri_is_canonical(child_uri, NULL)' failed.
Aborted
I'm using apache2 server with dav_svn module to serve svn repos.
Apache2 Configuration (/etc/apache2/mods-enabled/dav_svn.conf):
Alias /svn /svn
DAV svn
SVNParentPath /svn
AuthType Basic
AuthName "Auth"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
Asked by Ar Rakin
(189 rep)
Sep 28, 2022, 04:32 PM
Last activity: Sep 28, 2022, 06:51 PM
Last activity: Sep 28, 2022, 06:51 PM