On Mon, 2005-08-08 at 02:22 -0600, Bob Proulx wrote:
> 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.
>
Gotcha. I'll do that if I ever have to again. I think this whole thing
was spurious, though.
> I really think you are better off just using cp when you want to
> update files in your working copy.
>
> Bob
--
Wesley Leggette <lists@kaylix.net>
GPG Key: http://www.kaylix.net/kaylix.asc or http://pgp.mit.edu
GPG Fingerprint: 9B6F 19FB 5296 5E6C 21FE 7614 2A20 5688 F848 9BDD
Received on Mon Aug 8 23:13:29 2005