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

-r{DATE} with cvs-like relative dates?

From: Warren Young <warren_at_etr-usa.com>
Date: 2005-09-16 17:24:19 CEST

Is there a reason Subversion doesn't yet support fuzzy dates like
"yesterday", or "3 weeks ago"? This is the only thing about CVS that I
miss in Subversion. It makes backing up to a previous state in an ad
hoc way much easier.

Reasons you might want this:

- you want to see what happened since yesterday: svn diff -r{yesterday}

- you're trying to find out when a feature was inadvertently broken, so
you use a binary search between the date of the last release and today:

        svn up -r{21 days ago}
        svn up -r{10 days ago}
        svn up -r{5 days ago}
        ...check...ah, it's broken here...
        svn up -r{7 days ago}

- you realize that you've been on a wild goose chase for the last hour,
so you say "svn diff -r{1 hour ago} |less" to check that there are no
changes you'd like to keep before you revert everything.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 17:26:19 2005

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.