You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christian Bird <ca...@gmail.com> on 2008/10/01 18:03:09 UTC

checkout by date gives wrong version of repo

Hi all,

I'm trying to study the evolution of ant and I'm doing checkouts of
ant's svn repo in three month increments.  I have been checking out
with:

svn co --revision {2008-7-1}
http://svn.apache.org/repos/asf/ant/core/trunk/ foobar

For appropriate dates.  This seems to work until I get before
2006-1-1.  If I give it any date prior to that, I get the repo as of
that date.  I know by browsing their repo online, that changes were
being made prior to that.
Also, I can browse the online ant repo and find the revision closest
to a date I want and check it out by revision number and things work
correctly.  So if I do

svn co --revision 320000 http://svn.apache.org/repos/asf/ant/core/trunk/ foobar2

Then it checks out correctly the repository for the revision 320000 at
the date that is indicated by browsing the online repo.  I could try
to find a way to find the actual revision number associated with each
date, but I'd really like to specify a date for checkout and have it
work correctly.  Has anyone seen anything like this before?  I'd
really appreciate any tips/hints/etc.

I'm using svn 1.5.2 in case that helps.  Thanks!

-- Chris

-- 
Christian Bird
cabird@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout by date gives wrong version of repo

Posted by Christian Bird <ca...@gmail.com>.
Thank you.  So if I parse the xml log output I should be able to match
dates to the nearest revision and checkout by that revision right?

On Wed, Oct 1, 2008 at 1:34 PM, Larry Shatzer, Jr. <la...@gmail.com> wrote:
> On Wed, Oct 1, 2008 at 2:29 PM, Ryan Schmidt
> <su...@ryandesign.com> wrote:
>>
>> [snip]
>> Ok, yes, that's exactly the scenario I was talking about. This repository
>> was probably created by "svnadmin load"ing various other repositories, so
>> the revisions are not in chronological order, so the "-r{date}" syntax will
>> not be reliable with this repository. As I understand it, "-r{date}" does a
>> binary search across all revisions to find the target revision; if any
>> revision is not in order, this will cause some searches to return incorrect
>> results.
>
> See http://apache.org/dev/version-control.html#date-revisions
>
>



-- 
Christian Bird
cabird@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout by date gives wrong version of repo

Posted by "Larry Shatzer, Jr." <la...@gmail.com>.
On Wed, Oct 1, 2008 at 2:29 PM, Ryan Schmidt <
subversion-2008c@ryandesign.com> wrote:

> [snip]
> Ok, yes, that's exactly the scenario I was talking about. This repository
> was probably created by "svnadmin load"ing various other repositories, so
> the revisions are not in chronological order, so the "-r{date}" syntax will
> not be reliable with this repository. As I understand it, "-r{date}" does a
> binary search across all revisions to find the target revision; if any
> revision is not in order, this will cause some searches to return incorrect
> results.
>

See http://apache.org/dev/version-control.html#date-revisions

Re: checkout by date gives wrong version of repo

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 1, 2008, at 3:25 PM, <Pa...@Dell.com> wrote:

> I wonder if it matters that some older revs are drastically out of  
> time order.   Some examples:
>
>
> $ svn log -q -r 320000 http://svn.apache.org/repos/asf
> ---------------------------------------------------------------------- 
> --
> r320000 | sandygao | 2004-07-23 18:16:09 -0400 (Fri, 23 Jul 2004)
> ---------------------------------------------------------------------- 
> --
> $ svn log -q -r 267652 http://svn.apache.org/repos/asf
> ---------------------------------------------------------------------- 
> --
> r267652 | (no author) | 2000-04-12 12:20:53 -0400 (Wed, 12 Apr 2000)
> ---------------------------------------------------------------------- 
> --
> $ svn log -q -r {2001-6-1} http://svn.apache.org/repos/asf
> ---------------------------------------------------------------------- 
> --
> r89250 | stoddard | 2001-05-31 22:58:44 -0400 (Thu, 31 May 2001)
> ---------------------------------------------------------------------- 
> --
> $ svn log -q -r 2 http://svn.apache.org/repos/asf
> ---------------------------------------------------------------------- 
> --
> r2 | gstein | 2003-01-15 16:44:56 -0500 (Wed, 15 Jan 2003)
> ---------------------------------------------------------------------- 
> --
> $ svn log -q -r 1 http://svn.apache.org/repos/asf
> ---------------------------------------------------------------------- 
> --
> r1 | gstein | 2003-01-15 06:46:49 -0500 (Wed, 15 Jan 2003)
> ---------------------------------------------------------------------- 
> --

Ok, yes, that's exactly the scenario I was talking about. This  
repository was probably created by "svnadmin load"ing various other  
repositories, so the revisions are not in chronological order, so the  
"-r{date}" syntax will not be reliable with this repository. As I  
understand it, "-r{date}" does a binary search across all revisions  
to find the target revision; if any revision is not in order, this  
will cause some searches to return incorrect results.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Re: checkout by date gives wrong version of repo

Posted by Pa...@Dell.com.
I wonder if it matters that some older revs are drastically out of time order.   Some examples:


$ svn log -q -r 320000 http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r320000 | sandygao | 2004-07-23 18:16:09 -0400 (Fri, 23 Jul 2004)
------------------------------------------------------------------------
$ svn log -q -r 267652 http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r267652 | (no author) | 2000-04-12 12:20:53 -0400 (Wed, 12 Apr 2000)
------------------------------------------------------------------------
$ svn log -q -r {2001-6-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r89250 | stoddard | 2001-05-31 22:58:44 -0400 (Thu, 31 May 2001)
------------------------------------------------------------------------
$ svn log -q -r 2 http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r2 | gstein | 2003-01-15 16:44:56 -0500 (Wed, 15 Jan 2003)
------------------------------------------------------------------------
$ svn log -q -r 1 http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r1 | gstein | 2003-01-15 06:46:49 -0500 (Wed, 15 Jan 2003)
------------------------------------------------------------------------ 

	paul

Re: checkout by date gives wrong version of repo

Posted by Christian Bird <ca...@gmail.com>.
Thanks a bunch for the info.  I've got it working now by parsing the
log and finding the latest revision prior to the specified date.

-- Chris

On Wed, Oct 1, 2008 at 9:33 PM, Ryan Schmidt
<su...@ryandesign.com> wrote:
>
> On Oct 1, 2008, at 4:45 PM, Christian Bird wrote:
>
>> On Wed, Oct 1, 2008 at 1:04 PM, Ryan Schmidt wrote:
>>
>>> On Oct 1, 2008, at 1:03 PM, Christian Bird wrote:
>>>
>>>> I'm trying to study the evolution of ant and I'm doing checkouts of
>>>> ant's svn repo in three month increments.  I have been checking out
>>>> with:
>>>>
>>>> svn co --revision {2008-7-1}
>>>> http://svn.apache.org/repos/asf/ant/core/trunk/ foobar
>>>>
>>>> For appropriate dates.  This seems to work until I get before
>>>> 2006-1-1.  If I give it any date prior to that, I get the repo as of
>>>> that date.  I know by browsing their repo online, that changes were
>>>> being made prior to that.
>>>> Also, I can browse the online ant repo and find the revision closest
>>>> to a date I want and check it out by revision number and things work
>>>> correctly.  So if I do
>>>>
>>>> svn co --revision 320000 http://svn.apache.org/repos/asf/ant/core/trunk/
>>>> foobar2
>>>>
>>>> Then it checks out correctly the repository for the revision 320000 at
>>>> the date that is indicated by browsing the online repo.  I could try
>>>> to find a way to find the actual revision number associated with each
>>>> date, but I'd really like to specify a date for checkout and have it
>>>> work correctly.  Has anyone seen anything like this before?  I'd
>>>> really appreciate any tips/hints/etc.
>>>>
>>>> I'm using svn 1.5.2 in case that helps.  Thanks!
>>>
>>> It seems to be working for me, also with Subversion 1.5.2, on Mac OS X
>>> 10.4.11:
>>>
>>>
>>> $ svn log -q -r {2006-6-1} http://svn.apache.org/repos/asf
>>> ------------------------------------------------------------------------
>>> r410747 | crossley | 2006-05-31 23:56:36 -0500 (Wed, 31 May 2006)
>>> ------------------------------------------------------------------------
>>> $ svn log -q -r {2006-5-1} http://svn.apache.org/repos/asf
>>> ------------------------------------------------------------------------
>>> r398522 | jsisson | 2006-04-30 23:32:48 -0500 (Sun, 30 Apr 2006)
>>> ------------------------------------------------------------------------
>>> $ svn log -q -r {2006-4-1} http://svn.apache.org/repos/asf
>>> ------------------------------------------------------------------------
>>> r390592 | crossley | 2006-03-31 23:58:40 -0600 (Fri, 31 Mar 2006)
>>> ------------------------------------------------------------------------
>>> $ svn log -q -r {2006-3-1} http://svn.apache.org/repos/asf
>>> ------------------------------------------------------------------------
>>> r381913 | rahul | 2006-02-28 23:32:26 -0600 (Tue, 28 Feb 2006)
>>> ------------------------------------------------------------------------
>>> $ svn log -q -r {2006-2-1} http://svn.apache.org/repos/asf
>>> ------------------------------------------------------------------------
>>> r374002 | richter | 2006-01-31 23:51:36 -0600 (Tue, 31 Jan 2006)
>>> ------------------------------------------------------------------------
>>> $ svn log -q -r {2006-1-1} http://svn.apache.org/repos/asf
>>> ------------------------------------------------------------------------
>>> r365270 | arminw | 2005-12-31 13:07:20 -0600 (Sat, 31 Dec 2005)
>>> ------------------------------------------------------------------------
>>> $
>>>
>>>
>>> The only reason I know of for the date revision syntax to give incorrect
>>> results is if the revisions of the repository are not all in
>>> chronological
>>> order. This could happen, for example, if one were to "svnadmin load"
>>> another repository into the repository. I do not know if this is the case
>>> for the ASF repository.
>>
>> I'm sorry, I was testing for logs prior to 2006-1-1.  Try 2005-10-1
>> for example.  If it indeed works for you, then that's good news
>> because it means that the problem is on my end.   Thanks!
>
> It seems to work for me at the moment for that particular test:
>
> $ svn log -q -r {2005-10-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r365014 | tomdz | 2005-09-30 16:48:46 -0500 (Fri, 30 Sep 2005)
> $
>
> However, the binary search that Subversion performs probably depends on how
> many revisions are in the repository at the moment you do the query. As
> revisions are constantly being added, the specific searches that will fail
> will vary. You should not expect a date revision search to be reliable in
> the ASF repository, because their revisions are not all in chronological
> order, per:
>
> http://apache.org/dev/version-control.html#date-revisions
>
>



-- 
Christian Bird
cabird@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout by date gives wrong version of repo

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 1, 2008, at 4:45 PM, Christian Bird wrote:

> On Wed, Oct 1, 2008 at 1:04 PM, Ryan Schmidt wrote:
>
>> On Oct 1, 2008, at 1:03 PM, Christian Bird wrote:
>>
>>> I'm trying to study the evolution of ant and I'm doing checkouts of
>>> ant's svn repo in three month increments.  I have been checking out
>>> with:
>>>
>>> svn co --revision {2008-7-1}
>>> http://svn.apache.org/repos/asf/ant/core/trunk/ foobar
>>>
>>> For appropriate dates.  This seems to work until I get before
>>> 2006-1-1.  If I give it any date prior to that, I get the repo as of
>>> that date.  I know by browsing their repo online, that changes were
>>> being made prior to that.
>>> Also, I can browse the online ant repo and find the revision closest
>>> to a date I want and check it out by revision number and things work
>>> correctly.  So if I do
>>>
>>> svn co --revision 320000 http://svn.apache.org/repos/asf/ant/core/ 
>>> trunk/
>>> foobar2
>>>
>>> Then it checks out correctly the repository for the revision  
>>> 320000 at
>>> the date that is indicated by browsing the online repo.  I could try
>>> to find a way to find the actual revision number associated with  
>>> each
>>> date, but I'd really like to specify a date for checkout and have it
>>> work correctly.  Has anyone seen anything like this before?  I'd
>>> really appreciate any tips/hints/etc.
>>>
>>> I'm using svn 1.5.2 in case that helps.  Thanks!
>>
>> It seems to be working for me, also with Subversion 1.5.2, on Mac  
>> OS X
>> 10.4.11:
>>
>>
>> $ svn log -q -r {2006-6-1} http://svn.apache.org/repos/asf
>> --------------------------------------------------------------------- 
>> ---
>> r410747 | crossley | 2006-05-31 23:56:36 -0500 (Wed, 31 May 2006)
>> --------------------------------------------------------------------- 
>> ---
>> $ svn log -q -r {2006-5-1} http://svn.apache.org/repos/asf
>> --------------------------------------------------------------------- 
>> ---
>> r398522 | jsisson | 2006-04-30 23:32:48 -0500 (Sun, 30 Apr 2006)
>> --------------------------------------------------------------------- 
>> ---
>> $ svn log -q -r {2006-4-1} http://svn.apache.org/repos/asf
>> --------------------------------------------------------------------- 
>> ---
>> r390592 | crossley | 2006-03-31 23:58:40 -0600 (Fri, 31 Mar 2006)
>> --------------------------------------------------------------------- 
>> ---
>> $ svn log -q -r {2006-3-1} http://svn.apache.org/repos/asf
>> --------------------------------------------------------------------- 
>> ---
>> r381913 | rahul | 2006-02-28 23:32:26 -0600 (Tue, 28 Feb 2006)
>> --------------------------------------------------------------------- 
>> ---
>> $ svn log -q -r {2006-2-1} http://svn.apache.org/repos/asf
>> --------------------------------------------------------------------- 
>> ---
>> r374002 | richter | 2006-01-31 23:51:36 -0600 (Tue, 31 Jan 2006)
>> --------------------------------------------------------------------- 
>> ---
>> $ svn log -q -r {2006-1-1} http://svn.apache.org/repos/asf
>> --------------------------------------------------------------------- 
>> ---
>> r365270 | arminw | 2005-12-31 13:07:20 -0600 (Sat, 31 Dec 2005)
>> --------------------------------------------------------------------- 
>> ---
>> $
>>
>>
>> The only reason I know of for the date revision syntax to give  
>> incorrect
>> results is if the revisions of the repository are not all in  
>> chronological
>> order. This could happen, for example, if one were to "svnadmin load"
>> another repository into the repository. I do not know if this is  
>> the case
>> for the ASF repository.
>
> I'm sorry, I was testing for logs prior to 2006-1-1.  Try 2005-10-1
> for example.  If it indeed works for you, then that's good news
> because it means that the problem is on my end.   Thanks!

It seems to work for me at the moment for that particular test:

$ svn log -q -r {2005-10-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r365014 | tomdz | 2005-09-30 16:48:46 -0500 (Fri, 30 Sep 2005)
$

However, the binary search that Subversion performs probably depends  
on how many revisions are in the repository at the moment you do the  
query. As revisions are constantly being added, the specific searches  
that will fail will vary. You should not expect a date revision  
search to be reliable in the ASF repository, because their revisions  
are not all in chronological order, per:

http://apache.org/dev/version-control.html#date-revisions


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout by date gives wrong version of repo

Posted by Christian Bird <ca...@gmail.com>.
I'm sorry, I was testing for logs prior to 2006-1-1.  Try 2005-10-1
for example.  If it indeed works for you, then that's good news
because it means that the problem is on my end.   Thanks!

-- Chris


On Wed, Oct 1, 2008 at 1:04 PM, Ryan Schmidt
<su...@ryandesign.com> wrote:
> On Oct 1, 2008, at 1:03 PM, Christian Bird wrote:
>
>> I'm trying to study the evolution of ant and I'm doing checkouts of
>> ant's svn repo in three month increments.  I have been checking out
>> with:
>>
>> svn co --revision {2008-7-1}
>> http://svn.apache.org/repos/asf/ant/core/trunk/ foobar
>>
>> For appropriate dates.  This seems to work until I get before
>> 2006-1-1.  If I give it any date prior to that, I get the repo as of
>> that date.  I know by browsing their repo online, that changes were
>> being made prior to that.
>> Also, I can browse the online ant repo and find the revision closest
>> to a date I want and check it out by revision number and things work
>> correctly.  So if I do
>>
>> svn co --revision 320000 http://svn.apache.org/repos/asf/ant/core/trunk/
>> foobar2
>>
>> Then it checks out correctly the repository for the revision 320000 at
>> the date that is indicated by browsing the online repo.  I could try
>> to find a way to find the actual revision number associated with each
>> date, but I'd really like to specify a date for checkout and have it
>> work correctly.  Has anyone seen anything like this before?  I'd
>> really appreciate any tips/hints/etc.
>>
>> I'm using svn 1.5.2 in case that helps.  Thanks!
>
> It seems to be working for me, also with Subversion 1.5.2, on Mac OS X
> 10.4.11:
>
>
> $ svn log -q -r {2006-6-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r410747 | crossley | 2006-05-31 23:56:36 -0500 (Wed, 31 May 2006)
> ------------------------------------------------------------------------
> $ svn log -q -r {2006-5-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r398522 | jsisson | 2006-04-30 23:32:48 -0500 (Sun, 30 Apr 2006)
> ------------------------------------------------------------------------
> $ svn log -q -r {2006-4-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r390592 | crossley | 2006-03-31 23:58:40 -0600 (Fri, 31 Mar 2006)
> ------------------------------------------------------------------------
> $ svn log -q -r {2006-3-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r381913 | rahul | 2006-02-28 23:32:26 -0600 (Tue, 28 Feb 2006)
> ------------------------------------------------------------------------
> $ svn log -q -r {2006-2-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r374002 | richter | 2006-01-31 23:51:36 -0600 (Tue, 31 Jan 2006)
> ------------------------------------------------------------------------
> $ svn log -q -r {2006-1-1} http://svn.apache.org/repos/asf
> ------------------------------------------------------------------------
> r365270 | arminw | 2005-12-31 13:07:20 -0600 (Sat, 31 Dec 2005)
> ------------------------------------------------------------------------
> $
>
>
> The only reason I know of for the date revision syntax to give incorrect
> results is if the revisions of the repository are not all in chronological
> order. This could happen, for example, if one were to "svnadmin load"
> another repository into the repository. I do not know if this is the case
> for the ASF repository.
>
>



-- 
Christian Bird
cabird@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: checkout by date gives wrong version of repo

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 1, 2008, at 1:03 PM, Christian Bird wrote:

> I'm trying to study the evolution of ant and I'm doing checkouts of
> ant's svn repo in three month increments.  I have been checking out
> with:
>
> svn co --revision {2008-7-1}
> http://svn.apache.org/repos/asf/ant/core/trunk/ foobar
>
> For appropriate dates.  This seems to work until I get before
> 2006-1-1.  If I give it any date prior to that, I get the repo as of
> that date.  I know by browsing their repo online, that changes were
> being made prior to that.
> Also, I can browse the online ant repo and find the revision closest
> to a date I want and check it out by revision number and things work
> correctly.  So if I do
>
> svn co --revision 320000 http://svn.apache.org/repos/asf/ant/core/ 
> trunk/ foobar2
>
> Then it checks out correctly the repository for the revision 320000 at
> the date that is indicated by browsing the online repo.  I could try
> to find a way to find the actual revision number associated with each
> date, but I'd really like to specify a date for checkout and have it
> work correctly.  Has anyone seen anything like this before?  I'd
> really appreciate any tips/hints/etc.
>
> I'm using svn 1.5.2 in case that helps.  Thanks!

It seems to be working for me, also with Subversion 1.5.2, on Mac OS  
X 10.4.11:


$ svn log -q -r {2006-6-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r410747 | crossley | 2006-05-31 23:56:36 -0500 (Wed, 31 May 2006)
------------------------------------------------------------------------
$ svn log -q -r {2006-5-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r398522 | jsisson | 2006-04-30 23:32:48 -0500 (Sun, 30 Apr 2006)
------------------------------------------------------------------------
$ svn log -q -r {2006-4-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r390592 | crossley | 2006-03-31 23:58:40 -0600 (Fri, 31 Mar 2006)
------------------------------------------------------------------------
$ svn log -q -r {2006-3-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r381913 | rahul | 2006-02-28 23:32:26 -0600 (Tue, 28 Feb 2006)
------------------------------------------------------------------------
$ svn log -q -r {2006-2-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r374002 | richter | 2006-01-31 23:51:36 -0600 (Tue, 31 Jan 2006)
------------------------------------------------------------------------
$ svn log -q -r {2006-1-1} http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r365270 | arminw | 2005-12-31 13:07:20 -0600 (Sat, 31 Dec 2005)
------------------------------------------------------------------------
$


The only reason I know of for the date revision syntax to give  
incorrect results is if the revisions of the repository are not all  
in chronological order. This could happen, for example, if one were  
to "svnadmin load" another repository into the repository. I do not  
know if this is the case for the ASF repository.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Re: checkout by date gives wrong version of repo

Posted by Pa...@Dell.com.
That doesn't fit, because those old revs do have an svn:date property.

It does look like those old ones were originally in CVS and came to Subversion via cvs2svn.  But the usual revprops (svn:author, svn:date, svn:log) are present.  I wonder if there's something else odd about the way cvs2svn generates its output that accounts for the difference.

	paul

-----Original Message-----
From: Steven Bakke [mailto:steven.bakke@amd.com] 
Sent: Wednesday, October 01, 2008 3:27 PM
To: Christian Bird
Cc: users@subversion.tigris.org
Subject: Re: checkout by date gives wrong version of repo



On Oct 1, 2008, at 2:03 PM, Christian Bird wrote:

> Hi all,
>
> I'm trying to study the evolution of ant and I'm doing checkouts of
> ant's svn repo in three month increments.  I have been checking out
> with:
>
> svn co --revision {2008-7-1}
> http://svn.apache.org/repos/asf/ant/core/trunk/ foobar
>
> For appropriate dates.  This seems to work until I get before
> 2006-1-1.  If I give it any date prior to that, I get the repo as of
> that date.  I know by browsing their repo online, that changes were
> being made prior to that.
> Also, I can browse the online ant repo and find the revision closest
> to a date I want and check it out by revision number and things work
> correctly.  So if I do
>

If I understand correctly, when you fetch something based upon the  
date, it is actually relying on an 'svn:date' property.  It is  
possible that before some point in time, this property is missing for  
all of those revisions. 
  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: checkout by date gives wrong version of repo

Posted by Steven Bakke <st...@amd.com>.

On Oct 1, 2008, at 2:03 PM, Christian Bird wrote:

> Hi all,
>
> I'm trying to study the evolution of ant and I'm doing checkouts of
> ant's svn repo in three month increments.  I have been checking out
> with:
>
> svn co --revision {2008-7-1}
> http://svn.apache.org/repos/asf/ant/core/trunk/ foobar
>
> For appropriate dates.  This seems to work until I get before
> 2006-1-1.  If I give it any date prior to that, I get the repo as of
> that date.  I know by browsing their repo online, that changes were
> being made prior to that.
> Also, I can browse the online ant repo and find the revision closest
> to a date I want and check it out by revision number and things work
> correctly.  So if I do
>

If I understand correctly, when you fetch something based upon the  
date, it is actually relying on an 'svn:date' property.  It is  
possible that before some point in time, this property is missing for  
all of those revisions. 
  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org