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

Re: "svn st" behavior differs on Windows versus Linux

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-03-11 04:43:55 CET

[Eric Hanchrow]
> Did you try running the script? If so, did you see what I saw?

  $ sh svn-example.sh
  Estratta revisione 0.
  A /tmp/wc/new-years
  Aggiungo /tmp/wc/new-years
  Trasmissione dati .
  Commit della Revisione 1 eseguito.
  After modifying the file, 'svn st' shows that it's modified, as expected.
  M /tmp/wc/new-years
  -rw-r--r-- 1 ps ps 28 2007-03-10 21:40 /tmp/wc/new-years
  -rw-r--r-- 1 ps ps 28 2000-01-01 00:00 /tmp/wc/new-years
  But after resetting the timestamp, you'd probably expect 'svn st' to show that the file has changed, wouldn't you?

Well, no, I wouldn't, because I know how svn determines this stuff,
having fielded a bug report or two on the same subject.

It may be worth noting that Erik added code in trunk the other day, in
r23767, to also use file size for the is-it-modified heuristic. This
change will be in 1.5.0, whenever that appears.

Received on Sun Mar 11 04:44:07 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.