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

Re: reverting changes to svn-base files

From: Stefan Haller <haller_at_ableton.com>
Date: 2004-05-04 08:53:07 CEST

Ben Collins-Sussman <sussman@collab.net> wrote:

> The .svn/text-base/ files are read-only files for exactly this reason.
> How is it that your command successfully edits them?

Ben, making the files read-only is not enough to prevent them from being
changed. You must also make the containing directory read-only.

For a thorough explanation of this issue, and why perl is right in
succeeding to change the read-only files, see
<http://www.cpan.org/misc/olddoc/FMTEYEWTK.tgz>; in there, read the file

Jonathan: what I don't understand is how you managed to change files in
.svn/ with the command

  find . -type f -name \*.pm | xargs perl -pi -e 's/foo/bar/g'

This shouldn't be possible, the files in .svn don't match the pattern
*.pm (they end with .svnbase or .svnwork).

Stefan Haller
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 4 07:54:02 2004

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.