[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn info and svnlook - quick questions

From: Prabhu Gnana Sundar <prabhugs_at_collab.net>
Date: Sun, 20 Jan 2013 10:36:45 +0530

Z W <mpc8250_at_gmail.com> wrote:

>Hi All
>
>We're new to subversion.
>
>We like to make sure we get the latest svn revision number from the
>svn repository on the remote server.
>We are confused as to which command to use to find our latest revision
>number.
>Questions
>1-
>Which is correct -
>svn info url or
>svnlook youngest
>

Both are fine. But svnlook is a server side command.

>2-
>We thought svnlook is only available for the remote svn server but it
>seems we can execute it.
>We thought svnlook is a svn server command and not a svn client
>command - are we correct ?
>

AFAIK, svnlook is just a server side command. From client side we may have to use log, diff, info, etc.

>3-
>How do we know if the host we're running on is an svn server and not a
>svn client ?
>How do we know from the installation perspective that we have a local
>svn server ?
>

Svnadmin --version should let know that it has the svnadmin executable.
To know if the host is a svn server, check if apache server is running and check httpd.conf for <location ...> directive and subversion settings in it.

>4-
>Is a working copy trunk after checking out from a remote server trunk
>be considered a repository ?

No, it can not be considered as a repo.

>We ask because we're not sure when notes on the internet that says
>repository, do they mean on the server or the local copy.
>

--prabhugs

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Received on 2013-01-20 06:09:04 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.