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

Re: symlinks in 'svn status'

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-06-04 16:53:38 CEST

gerhard oettl wrote:

> is there a speceal reason why symlinks are shown as
> ? = not under version control in 'svn status'
> instead of handle them as I = ignored

To find out that the file _is_ a symlink involves more than opening the
directory and listing the contents (which is the current code path). As
far as Subversion is concerned (at that point in the processing), this
is just the list of files that aren't already know about. Only when you
try and process a symlink (like when adding it), is the file itself
touched and at that point the code knows this is a symlink.

There has been a suggestion that there be a way to change errors into
warnings when processing files, perhaps through the --force option. Hence:

        svn add dir/*

would error out if anything in "dir" were a symlink (or other special
object in the filesystem), and

        svn add --force dir/*

would add all of the files in "dir" which were not special and warn
about those that were.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 4 16:53:59 2004

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.