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

specifying revisions using their distance (in days) from the current date

From: Peter Hercek <peter_at_syncad.com>
Date: 2004-07-27 17:04:20 CEST

Hi all,

This is a proposal for enhancement.

I plan to add it to Subversion Issue Tracker if there are no objections or
better ideas.

Problem:

It is dificult to find out all the log records for commits which happened
in the last x days. The timestamps can be specified only in the absolute
format. One more date format would be accepted by svn to improve this. It
would specify the timestamp as an amount of time we need move back from the
current timestamp. The format would look like this:

'{-' number_of_days_ago (
    'T' number_of_hours_ago (
        ':' number_of_minutes_ago (
            ':' number_of_seconds_ago
        )?
    )?
)? '}'

The format can be easily recongnized from the standard date formats since
t starts with a minus sign (dash).

Examples:
{-3} would mean 3 days ago (ie Now()-3 provided that Now is a function
           returning the current timestamp)
 {-4T12:30} would mean 3 days, 12 hours and 30 minutes ago

Is it a good proposal? Any better ideas?

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 27 17:14:46 2004

This is an archived mail posted to the Subversion Users mailing list.