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

Bug Report: Applying patch does not update file timestamp.

From: Brian Vanderburg <brian_vanderburg2_at_yahoo.com>
Date: 2006-08-25 04:57:42 CEST

When I apply a patch to a local copy that is up to date with the repository, it does not update the modification timestamps of the file, and I can not 'commit' the change until I 'touch' the files. I'm just playing around, but here are my steps.
   
  OS: Windows 2000 SP4
   
  *Create directory d:\svn\a and d:\svn\b
  *Create repository in d:\svn\a
  *Create a file 'test.txt' in d:\svn\b and edit it to contain 'I am a test'
  *Import it into the repository
  *Delete d:\svn\b\test.txt
  *Check out file:///d:\svn\a into d:\svn\b
  *Modify test.txt to contains 'I am not a test'. It is now showing that it has changed.
  *Create a patch
  *Revert changes. Verify changes: 'test.txt' now says 'I am a test'
   
  At this point the timestamp for 'test.txt' is 10:24 PM
   
  * Apply patch (it is 10:30 PM), verify it.
   
  At this point, the file now contains 'I am not a test', but the timestamp is still 10:24 PM, so I can not commit it until I 'touch' it.
   
   
  Please CC the answer to this address:
  brian_vanderburg2@yahoo.com

                 
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
Received on Fri Aug 25 08:29:03 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

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