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

RE: RE: Question about svn checkout by time

From: Patwardhan, Rajesh <rajesh.patwardhan_at_etrade.com>
Date: 2007-09-18 16:27:47 CEST

Thanks to Ryan, I did get the reply...but missed reading it.
http://svn.haxx.se/users/archive-2007-09/0455.shtml
Regards,
Rajesh
PS: For those who may have missed too. Here is the reply ...
================================================
Im not familiar with CVS. But if you want to know the timestamp of a
particular revision, that can be easily parsed out of the output of
"svn info" or "svn log", with or without the --xml switch. For example:
 
svn log http://svn.collab.net/repos/svn/ -q -r 26000 --xml \
| sed -n -E 's%.*<date>(.*)</date>.*%\1%p'
 
Output:
 
2007-08-08T21:50:40.468585Z

________________________________

From: Patwardhan, Rajesh [mailto:rajesh.patwardhan@etrade.com]
Sent: Monday, September 17, 2007 10:32 PM
To: users@subversion.tigris.org
Subject: RE: Question about svn checkout by time

Any help or pointer would be greatly appreciated...
Regards,
Rajesh

________________________________

From: Patwardhan, Rajesh [mailto:rajesh.patwardhan@etrade.com]
Sent: Thursday, September 13, 2007 2:09 PM
To: users@subversion.tigris.org
Subject: Question about svn checkout by time

Hi,
Scenario: cvs co "09/10/2007 19:02 UTC" module_name

Now if I do a
cvs stat module_name/filename
I see a sticky date
   Sticky Date: 2007.09.13.19.02.00
I am wondering if I do the same in svn
Svn co -r{2007-09-10T19:02Z-07:00} modulename
I get the revisions etc properly (if I look at the svn info for the
checkout) but how do I get the time I used for the checkout in the first
place.

Getting a revision number is of no great use since it is a very abstract
value.
We use this for internal build process or checkouts and would help to
have the time displayed in my workspace in some way....

Thank you very much in advance for your time ...
Regards,
Rajesh
Received on Tue Sep 18 16:28:18 2007

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.