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

RE: RE: Ignore date changes to files

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2005-11-21 21:09:02 CET

Rob Brandt wrote:
> Quoting "Gale, David" <David.Gale@Hypertherm.com>:
>
>> I'm not sure I understand. Have you verified that there're several
>> megs of data sent to the repository per commit? Subversion uses a
>> binary diff, and only sends the differences, so if the only change
>> is really to the file modification date, there shouldn't be any
>> appreciable network traffic at all. (It may flag the files as
>> having been changed, but that's relatively minor.) Have you watched
>> the size of your repository grow?
>>
>> -David
>
> Interesting. No, I hadn't verified; what I saw was the TortoiseSVN
> window showing that each file was being sent at the commit. It is
> good to know that this isn't then a network traffic or storage size
> problem, however it is still a versioning problem for each file. For
> example when I browse the repository right now, it says that each
> library was updated at revision 11, which isn't really true from a
> programming point of view.

Just did some quick tests. Under linux/unix, touching a checked-out
file to change the modified time does not cause subversion to flag it as
modified. Under windows, because there is no touch command, I was a
little more involved. Here're my steps:
Checkout (using TortoiseSvn)
Modify
  - The file icon changes to indicate a modified file
Modify back
  - The file icon changes back to a "pristine" file
Try to check in
  - TortoiseSvn reports no modifications to check in.

So, the only thing I can conclude is that the files that you thought
were only changed by modification time are, in fact, different. Perhaps
they've got a last modified time-stamp encoded in them, or something.
If this is the case, I can understand the diffs being noticeable, and
thus your original complaint. I've no experience with NG3--is it
designed to understand the format of the files you're dealing with? If
so, it may be intelligent enough to open the files and check to see what
the differences between revisions actually are, and filter accordingly.

Anyhow, that's my best guess.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 21 21:13:35 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.