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

Feature request: svn propget to skip unversioned files and continue

From: Ed Avis <eda_at_waniasset.com>
Date: Thu, 7 Aug 2008 13:08:55 +0100

At the moment, 'svn propget' will die if any of the files mentioned is not under version control. For example, in an existing working copy:

% mkdir a
% cd a
% touch a b c
% svn add a
% svn propget foo a b c
svn: 'b' is not under version control

This strict behaviour is great for operations like 'svn commit' or 'svn update' that may modify data somewhere. But it might be a little too pedantic for 'svn propget', which just prints some information. I suggest that svn propget, when given a filename which is not under version control, warn about it but continue to the next file. So in this example the output would be

% svn propget foo a b c
svn: 'b' is not under version control
svn: 'c' is not under version control

The exit status of the command should still be nonzero to indicate that something went wrong.

Do you think this feature request is reasonable? The same would apply to 'svn proplist', 'svn status' and other harmless operations.

-- 
Ed Avis <eda_at_waniasset.com>
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Received on 2008-08-07 14:09:57 CEST

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.