[ILUG] Subversion not seeing working copy changes
Kevin Lyda
kevin at ie.suberic.net
Wed Oct 21 21:33:18 IST 2009
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
--
Kevin Lyda
Dublin, Ireland
US Citizen overseas? We can vote.
Register now: http://www.votefromabroad.org/
More information about the ILUG
mailing list