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

Re: Determine the date / time of remote SVN server from the command line?

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Tue, 19 Oct 2010 11:52:56 +0100

2010/10/19 Olivier Mengué <olivier.mengue_at_gmail.com>:
>
>
> 2010/10/19 Michael March <mmarch_at_gmail.com>
>>
>> Hey,
>> Does anyone out there know  if  there is a way to determine the date /
>> time of remote SVN server from the command line?
>
> As a SVN server is an HTTP Server you can use any HTTP tool to check the
> "Date" header.
> For example, with curl :
>
> $ curl -I http://svn-graph-branches.googlecode.com/svn/trunk/ | grep ^Date:
> Date: Tue, 19 Oct 2010 09:11:33 GMT
>
>

Only works if you are serving the repo over http / https if serving
over svn+ssh or svn then you might not have the same luck
Received on 2010-10-19 12:53:35 CEST

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.