On Mar 12, 2006, at 05:37, Kalin KOZHUHAROV wrote:
>> The fact that Subversion doesn't notice differences if the
>> occurs within the same second has come up on the list before. For
>> I searched http://svn.haxx.se/users for "one second"; there were
> OK, I kind of missed most of this thread, but this behavior is a
> bug, right?
>>>> svn propedit myproperty --editor-cmd "sed -i -e 's/foo/bar/g'"
>>>> then svn will respond: "No changes to property 'myproperty' on
> I couldn't find any related issues in the issue tracker, are there
> Or why is it a WONTFIX bug?
There was some other discussion about this on the users list in 2005
which I cannot find at the moment; the proper search terms elude me.
I believe it boiled down to the only way to avoid this problem would
be for Subversion to actually check the files' entire contents every
time, which would be way too slow to be usable, and so this
compromise was reached that the mtime and/or file size are checked
first. According to this developer discussion from last month...
...the algorithm currently is:
if (timestamp is same)
else if (size differs)
See also other parts of that discussion, like:
I did also find this developer discussion from late 2002 suggesting
that the current behavior was fine but just needed to be documented
> So far the ugly workaround seems:
>>> using a combination of propdel and propset now. Quite ugly but it
Not sure why that works... the workaround would seem to be for your
script to sleep for 1 second between operations to ensure that the
timestamp is different.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Sun Mar 12 13:31:20 2006