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

wc doesn't see a local file modification

From: Yves Bergeron <yves.bergeron_at_shq.gouv.qc.ca>
Date: 2005-08-25 21:59:28 CEST

Hi,
 
It seems that in certain circonstances, a wc doesn't see that a local
file was modified.
 
I'm currently developing a serie of unit tests for Subversion on a
Windows client ( with Sun Solaris Server).
 
In a DOS batch file, I extract various working copies, simulate changes
by copying files over files in the working copies and propagate changes
to the repository.
 
I always start my batch file with an empty repository before simulating
all the operations on the working copies and the repository.
 
Not all the times, for a particular change on a file, the svn status
command doesn't see the changes made in that file. The changes are very
simple, it's only 1 char different. So the file stays the same size.
If I look for the file in the hidden .svn\text-base directory, I see the
original version. In the working copy, I see the modified file. If I
tempt a svn revert on my file, it stays with the modification (maybe
because svn think it doesn't need to really revert the file since it
think it's not modified). If I edit manually the file for another
modification, svn status now show me it's modified.
 
What I think, it's since all my operations are simulated in a batch
file, the extraction of the working copy and the modification of the
file happens very close in time. So maybe the timestamp is not
different between the original version and the modified version and svn
doesn't even look inside the file for checking if it's modified.
 
Is it as I think ? Is this a know problem ?
 
Yves

« Le présent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au destinataire dont le nom apparaît ci-dessus. Si ce courriel vous est parvenu par mégarde, veuillez le supprimer et nous en aviser aussitôt. Merci. »
Received on Thu Aug 25 22:00:39 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.