LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-14-2012, 06:58 AM   #1
anup tarone
LQ Newbie
 
Registered: Dec 2011
Posts: 9

Rep: Reputation: Disabled
svn client repository vs svn server repository?


I m trying to see the current revision number of both svn client and svn server.
I m using:
Code:
Code:
anup@dell:~/data/prj$ svnversion /home/data/prj/ #it gives the version number of my working copy.
3
and to check server repository revision i used
Code:
Code:
anup@dell:~/data/prj$ svnlook youngest svn://xxx.xxx.xx.xx/home/data/my_repository/trunk

which gives error:

subversion/svnlook/main.c:2212: (apr_err=2)
subversion/svnlook/main.c:1886: (apr_err=2)
subversion/libsvn_repos/repos.c:1370: (apr_err=2)
subversion/libsvn_repos/repos.c:1332: (apr_err=2)
subversion/libsvn_subr/io.c:3866: (apr_err=2)
subversion/libsvn_subr/io.c:3044: (apr_err=2)
svnlook: E000002: Can't open file 'svn:/xxx.xxx.xx.xx/home/data/my_repository/trunk/format': No such file or directory
My question is how can i get the svn server repository revision number in client side..?
 
Old 02-21-2012, 06:37 AM   #2
anup tarone
LQ Newbie
 
Registered: Dec 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by anup tarone View Post
I m trying to see the current revision number of both svn client and svn server.
I m using:
Code:
Code:
anup@dell:~/data/prj$ svnversion /home/data/prj/ #it gives the version number of my working copy.
3
and to check server repository revision i used
Code:
Code:
anup@dell:~/data/prj$ svnlook youngest svn://xxx.xxx.xx.xx/home/data/my_repository/trunk

which gives error:

subversion/svnlook/main.c:2212: (apr_err=2)
subversion/svnlook/main.c:1886: (apr_err=2)
subversion/libsvn_repos/repos.c:1370: (apr_err=2)
subversion/libsvn_repos/repos.c:1332: (apr_err=2)
subversion/libsvn_subr/io.c:3866: (apr_err=2)
subversion/libsvn_subr/io.c:3044: (apr_err=2)
svnlook: E000002: Can't open file 'svn:/xxx.xxx.xx.xx/home/data/my_repository/trunk/format': No such file or directory
My question is how can i get the svn server repository revision number in client side..?

Sorry...i get that svnlook only takes paths not URL`s.
But wat could be done if the client wants to know the server revision number?

Any help will be appreciated ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving cvs git svn repository to new server niharikaananth Linux - Newbie 1 08-04-2011 09:55 AM
Put contents in an SVN repository, how to? linuxlover.chaitanya Linux - Newbie 1 03-17-2011 07:51 AM
Svn client on FC10: remote SVN server update errs: timed out waiting for srvr ... Amol Tupe Linux - Software 0 10-01-2010 03:25 AM
Svn: Create repository and Tortoisesvn ArthurHuang Linux - Software 0 10-08-2007 11:14 PM
ViewCVS doesn't see SVN repository dmellem Linux - Software 1 10-14-2005 12:17 AM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration