Wesley Leggette wrote:
> One more question: I've resolved to occasionally running `find . -exec
> touch {} \;`. If this also touches everything in .svn, will I have a
> problem?
I think that would be a bad idea. If you have a fast system and are
lucky then all of the files may be in the same second of timestamp.
If you have a slow system and microsecond resolution on files in the
filesystem then you may have time skew across files. Also you will be
touching the files in the .svn directory. Generally you should never
touch those.
You could use 'find * -exec touch {} \;' to avoid traversing the .svn
directory. But I think that is bad for a different reason. Now you
will be making svn think that you have actually modified all of the
files in your working copy. For a few files that is probably okay.
But for a large number of files it would be inefficient and possibly
slow because svn would need to check every one of those files against
the pristine copies in the .svn directory.
I really think you are better off just using cp when you want to
update files in your working copy.
Bob
Received on Mon Aug 8 10:24:09 2005