use-commit-times bug?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

use-commit-times bug?

Ludvig Strigeus
Good day,

When 'use-commit-times = yes', the timestamp checker in 'svn status'
thinks that all files have changed (because the timestamps are set to
the commit date), thus causing a full byte-by-byte compare of ALL files
in the repository. This is very slow.

Is this the intent?

/Ludvig

--
Ludvig Strigeus - Software Development - ATI Sweden
email: <[hidden email]>
phone:    +46-(0)31-7737143 | mobile phone: +46-(0)707-838540          
us phone:   +1-248-327-3222 | skype name: strigeus

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: use-commit-times bug?

Mark Phippard
"Ludvig Strigeus" <[hidden email]> wrote on 04/26/2005
09:41:50 AM:

> When 'use-commit-times = yes', the timestamp checker in 'svn status'
> thinks that all files have changed (because the timestamps are set to
> the commit date), thus causing a full byte-by-byte compare of ALL files
> in the repository. This is very slow.
>
> Is this the intent?

This is a bug that has been fixed in 1.2.

http://svn.collab.net/viewcvs/svn?rev=12906&view=rev

Mark


_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: use-commit-times bug?

Fabien COELHO
In reply to this post by Ludvig Strigeus

> When 'use-commit-times = yes',

Something quite misleading is that although in my .subversion/config
and /etc/subversion/config files I have a commented out

# use-commit-times = yes

which seems to suggest that this is the default value, it is not the case.

> the timestamp checker in 'svn status'
> thinks that all files have changed (because the timestamps are set to
> the commit date), thus causing a full byte-by-byte compare of ALL files
> in the repository. This is very slow.

This suggest that the master copy within the .svn subdirectory should also
be set to the commit time? I guess it could be enough.

shell> svn log local.mk | head -2
------------------------------------------------------------------------
r61 | coelho | 2005-03-14 18:27:19 +0100 (Mon, 14 Mar 2005) | 2 lines

shell> ls -l .svn/text-base/local.mk.svn-base local.mk
-r--------  1 coelho cri 292 Mar 14 18:49 .svn/text-base/local.mk.svn-base
-rw-------  1 coelho cri 334 Mar 14 18:27 local.mk

The times are indeed different with 1.1.4.

--
Fabien

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]