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

RE: What version is my repository?

From: <omar_zakaria_at_agilent.com>
Date: Wed, 10 Dec 2008 16:38:39 -0700

> -----Original Message-----
> From: Magne Nordtveit [mailto:magne.nordtveit_at_offsim.no]
> Sent: Tuesday, December 09, 2008 11:57 PM
> To: users_at_subversion.tigris.org
> Subject: What version is my repository?
>
> How can I check the version of my repository? Is there a simple command
> that
> can do that?
>
> I am in the process of migrating several of our repositories to 1.5.4 from
> 1.4.3, and need a way to verify/check the version number of the
> repositories...

Hrm. If you have access to the repository itself, you could try:

'cat repostory.svn/db/format'

Where 'repository.svn' is the actual directory containing the hooks, conf, etc. directories. That'll tell you which database version your repository is using: 2 means Subversion 1.4's format and 3 means Subversion 1.5's format. I'm assuming you just want a way to check which repository is using which db format, so this'll probably be good enough for what you're looking for; the release number (the third number in the version string) doesn't affect the database format at all.

Hope that helps.

-- 
Omar
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=982605
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-11 00:39:38 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.