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

Re: Does it matter if svn:date isn't in the same order as rev?

From: <cmpilato_at_collab.net>
Date: 2003-05-16 08:07:46 CEST

Edmund Horner <edmund@chrysophylax.cjb.net> writes:

> Hi. I am building a new repository out of the ashes of my old one
> :-), and am taking the opportunity to re-organise things a bit.
>
> My question is, is svn:date used for anything other than letting users
> know when a change happened? E.g. if I imported lots of stuff into
> the repository at revision 1, and then found some older stuff with
> several revisions that I decided to import as revs 2, 3, 4, etc. would
> it matter if I changed svn:date for those revisions to reflect when I
> actually changed those things?
>
> So I'd have:
>
> rev 1, svn:date = today, when I imported that stuff.
> rev 2, svn:date = several years ago when I first began the stuff I'm
> importing now.
> rev 3, svn:date = several years ago, a few days later.
> etc.
>
> The stuff with the retro-active svn:date would be on different paths
> than the normally imported stuff.

svn:date is set revision-wide, typically, irrespective of paths. It
might affect your ability to use the -r{DATE} syntax (versus -rREV)
over ranges because sorting by date and sorting by revision number
would return two different orderings. I'd recommand setting svn:date
on revision 0 and 1 some something older than revision 2-N.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 16 08:12:25 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.