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

Re: [Issue 2319] Showing missing properties

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2005-06-02 22:08:18 CEST

02 Jun 2005 12:26:12 -0500, kfogel@collab.net <kfogel@collab.net>:

> > My suggestion was to add a flag to proplist that will list everything,
> > just not showing the properties for paths that lack them, and a
> > similar flag to propget.
> We try not to add flags for every conceivable use case. We'd grow a
> lot of flags, most of which would not be used by most users, and
> they'd take up a lot of space in the documentation and help output.

I also think this is a common case. I too once wanted to set the
svn:eol-style property on all *.c and *.h files in a working copy
folder, and I found that very hard. The problem was that the folder
contained some ignored *.h files that were not under version control:

* The simple "svn propset svn:eol-style native *.h" did fail on the
first unversioned *.h and stopped. [note: I have seen some discussion
on the list about this one, so I do not know if this changed already
in 1.2]
* The check what files did not have the propery failed, because "svn
proplist svn:ignore *.h" did not show the files that did not have the
property. I ended up in printing a list of both file lists and
compared the manually :-(

I believe svn has a very small list of available flags (if you do not
count the standard flags that work for basically every command, like
--username --password --recursive etc). I think it would not do much
harm to add another, though I fully understand your defensive policy
about adding new flags.

On the other hand, maybe we do not need a new flag but a modified
default behaviour? When I do a "attrib *.h" in my windows command
shell, I expect to see a list of _all_ *.h files and their attributes,
including the files that don't have any attribute set. Why not make
subversion behave that way? Or is there a "more typical" use case that
requires subversion to omit the files that lack that property?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 2 22:10:40 2005

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.