[ILUG] Subversion not seeing working copy changes

Sean Ryan sryan at iel.ie
Thu Oct 22 10:11:19 IST 2009


Kevin,
Apologies - time stamp does seem to be updated - that I'm afraid was
hypothesis on my part.

Even though the content of the file has changed - subversion is not seeing
that the file has been modified.

Hmm - guess I'll take it to the svn list.

Thanks again,
Sean 


On 21/10/2009 21:33, "Kevin Lyda" <kevin at ie.suberic.net> wrote:

> On Wed, Oct 21, 2009 at 5:40 PM, Sean Ryan <sryan at iel.ie> wrote:
>> find . -type f -exec sed -i 's/FILE1.h/FILE2.h/g' {} \;
>> 
>> Now this seems to work just fine all files are updated, but the last
>> modification time is not changed.
> 
> Really?  Are you sure sed changed the files?  I just did:
> 
> : lyda at parsley on pts/21 ; echo moo > foo
> : ok ; : Wed 21 21:28 ; cd ~
> : lyda at parsley on pts/21 ; touch -r /etc/profile foo
> : ok ; : Wed 21 21:28 ; cd ~
> : lyda at parsley on pts/21 ; ls -l foo
> -rw-r----- 1 lyda lyda 4 Mar 10  2009 foo
> : ok ; : Wed 21 21:28 ; cd ~
> : lyda at parsley on pts/21 ; sed -i -e s/moo/boo/ foo
> : ok ; : Wed 21 21:28 ; cd ~
> : lyda at parsley on pts/21 ; ls -l foo
> -rw-r----- 1 lyda lyda 4 Oct 21 21:28 foo
> 
> Even in the case where nothing changes, the timestamp is changed.
> 
> Kevin





More information about the ILUG mailing list