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

[PATCH] svn_load_dirs.pl: execute bit on files triggers an "add"

From: Mark Reibert <svn_at_reibert.com>
Date: 2007-03-22 08:46:11 CET


svn_load_dirs.pl will set "svn:executable" on any executable plain file,
even those that have not changed (MD5). This triggers the file to be
processed as an addition to the repository and copied from the import
directory into the staging working copy. This behavior seem
unintentional (or at least inconsistent) since all other properties (via
the -p option) are set only for newly added files. More importantly, it
will trigger a failure if the target in the staging working copy is
read-only. (That issue coming in another post.)

* contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in
  Set "svn:executable" only for newly added (executable) files.

Mark S. Reibert, Ph.D.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Mar 22 08:46:26 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.