Background : svn checkout project under ubuntu using proxy
With natif configuration of svn (which is installed by apt-get), svn checkout return an error :
svn co --username your_username https://your_svn_url/
svn: OPTIONS of 'your_svn_url': Could not resolve hostname ... : Host not found
The solution is to add proxy to the defaut configuration of svn.
Edit : ~/.subversion/servers by adding :
http-proxy-host = your_proxy_host
http-proxy-port = your_proxy_port (3128 or 8080 etc)
http-proxy-username = your_proxy_username
http-proxy-password = your_proxy_password
SVN LOG command
To get the detail log of svn (for example, with a revision number 12345):
svn log -vqr 12345
-v [–verbose] : Show more details
-q [–quiet] : Resume the output
-r [–revision] : can be following by a revision number, the date etc
The result will be :
r12345 | email@example.com | 2014-10-31 10:28:31 +0100 (date)
Path modified :
For more info, see wiki.
To list the repository of remote svn :
svn list your_svn_url --username your_username --password your_password
svn ls your_svn_url --username your_username --password your_password
To see more information :
svn list --verbose your_svn_url --username your_username --password your_password
To display the out in XML :
svn list --xml your_svn_url --username your_username --password your_password
1. Configration proxy in Ubuntu :
System setting -> Network proxy as diagram below :
Apply your own configration of proxy.
2. Configration proxy for SVN :
Go to ~/.subversion folder, modify the file servers :
Uncomment these lines and add your own configration proxy :
Make sure there is no gap on either side of “=” symbol
It will works your proxy.
I’m sure that I am not the first one who has seen the following errors when synchronizing SVN with eclipse.
Problems reported while synchronizing SVNStatusSubscriber.
0 of 1 resources were synchronized.
Working copy not locked; this is probably a bug…
And as shown in the picture :