Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: What version is my repository?

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

RE: What version is my repository?

Author <omar_zakaria at agilent dot com>
Full name <omar_zakaria at agilent dot com>
Date 2008-12-10 15:38:41 PST
Message > -----Original Message-----
> From: Magne Nordtveit [mailto:magne.nordtv​eit at offsim dot no]
> Sent: Tuesday, December 09, 2008 11:57 PM
> To: users at subversion dot tigris dot 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

« Previous message in topic | 2 of 3 | Next message in topic »

Messages

Show all messages in topic

What version is my repository? Magne Nordtveit <magne dot nordtveit at offsim dot no> Magne Nordtveit <magne dot nordtveit at offsim dot no> 2008-12-09 23:57:32 PST
     RE: What version is my repository? <omar_zakaria at agilent dot com> <omar_zakaria at agilent dot com> 2008-12-10 15:38:41 PST
         Re: What version is my repository? Magne Nordtveit <magne dot nordtveit at offsim dot no> Magne Nordtveit <magne dot nordtveit at offsim dot no> 2008-12-11 00:11:52 PST
Messages per page: