Re: Convert revision number to date

2013-07-23 Thread Aravinda Dassanayake
Hi Dmitry, Thanks! That was fast! I will try the SVNPropertyValue approach. I thought of the SVNLog based approach, but gave it up do to the potential performance problems. Regards, Aravinda On Tue, Jul 23, 2013 at 3:20 PM, Dmitry Pavlenko wrote: > Hello Aravinda, > > You can get value of svn:

Re: Convert revision number to date

2013-07-23 Thread Dmitry Pavlenko
Hello Aravinda, You can get value of svn:date revision property using SVNRepository#getRevisionPropertyValue method: SVNPropertyValue propertyValue = svnRepository.getRevisionPropertyValue(revision, SVNRevisionProperty.DATE); String stringValue = SVNPropertyValue.getPropertyAsString(propertyVa

Convert revision number to date

2013-07-23 Thread Aravinda Dassanayake
Hi all, I need to get the time-stamp corresponding to a revision number. What is the best way to do this conversion (revision number -> time-stamp)? Cheers, Aravinda