You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Edmund Horner <ed...@chrysophylax.cjb.net> on 2003/05/16 05:57:47 UTC
Does it matter if svn:date isn't in the same order as rev?
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.
Thanks,
Edmund.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Does it matter if svn:date isn't in the same order as rev?
Posted by cm...@collab.net.
Edmund Horner <ed...@chrysophylax.cjb.net> writes:
> > 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.
>
> Thanks for comprehending the situation :-).
>
> BTW, I've always wanted to know what revision 0 is--is it an "empty"
> revision?
Yep. Consists of nothing but an empty root directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Does it matter if svn:date isn't in the same order as rev?
Posted by Edmund Horner <ed...@chrysophylax.cjb.net>.
> 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.
Thanks for comprehending the situation :-).
BTW, I've always wanted to know what revision 0 is--is it an "empty"
revision?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Does it matter if svn:date isn't in the same order as rev?
Posted by cm...@collab.net.
Edmund Horner <ed...@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