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

Re: Has Subversion's attitude toward dataloss changed significantly since 0.27?

From: Garance A Drosihn <drosih_at_rpi.edu>
Date: 2007-03-21 17:54:32 CET

At 9:22 AM +0100 3/21/07, Jan Hendrik wrote:
>Garance A Drosihn wrote on 9 Mar 2007, 16:03, at least in part:
>[text is snipped]
> > ... Later on, I made a change to one of the source
> > files changed by the find/xargs combo, and when I went to commit
>> *that* change, the 'svn commit' aborted with a message about
>> file-corruption in one of the .svn directories.
> > What apparently had happened was the find/xargs combo had changed
> > both the workarea source file, and the copy of it saved in the
> > .svn directory.
>This is pretty old by now and I already saw replies by others (that's
>how Myrealbox worked the last few weeks, hope this gmail will do
>better), but yet I am surprised that unix commands would touch
>hidden directories - that's what .svn folders are, aren't they? -
>except when told so explicitly.

If you do 'find * -etc', then it will skip the .svn directories in
the directory you are in. If you do 'find . -etc', then find starts
at the current directory, and descends into all subdirectories,
including hidden ones such as .svn.

If you want to skip .svn directories, you need to add a few extra
terms to your 'find' command. Eg:

     find . -name Makefile\*


     find . \( -type d -name .svn -false -prune \) -o -name 'Makefile*'

(I guess you don't really need the '-type d' part, but I like to
be extra careful)

> > Garance
>Like the flower? :)

I have never seen the flower in real life.
For more trivia WRT the name, see also:

Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 21 17:55:00 2007

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.