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

prop ops on schedule-delete

From: Ed Price <ed.price_at_gmail.com>
Date: 2006-03-11 21:42:53 CET

Should propget/propset/proplist work on a "schedule-delete" file?
Strangely, ps/pl both actually appear to work on a schedule-delete
file. But pg does *not* (ie doesnt return the value set with ps).

I think that all three should be consistent, and all three should
return a warning to the effect that the file doesn't exist, or has
been scheduled for deletion, or whatever.

 $ svnadmin create repos
 $ svn co file://`pwd`/repos wc
 Checked out revision 0.
 $ cd wc
 $ touch foo
 $ svn add foo
 A foo
 $ svn ci -m ""
 Adding foo
 Transmitting file data .
 Committed revision 1.
 $ svn rm foo
 D foo
 $ svn ps p 1 foo
 property 'p' set on 'foo'
 $ svn pl foo
 Properties on 'foo':
   p
 $ svn pg p foo
 $ # huh?
 $ svn st
 D foo
 $ svn ps p 1 does_not_exist
 svn: warning: 'does_not_exist' is not under version control
 $ svn pg p does_not_exist
 subversion/libsvn_client/prop_commands.c:579: (apr_err=200005)
 svn: 'does_not_exist' is not under version control
 $ svn pl does_not_exist
 svn: warning: 'does_not_exist' is not under version control
 $ touch not_versioned
 $ svn ps p 1 not_versioned
 svn: warning: 'not_versioned' is not under version control
 $ svn pl not_versioned
 svn: warning: 'not_versioned' is not under version control
 $ svn pg p not_versioned
 subversion/libsvn_client/prop_commands.c:579: (apr_err=200005)
 svn: 'not_versioned' is not under version control
 $

Shall I file an issue?
What is the correct behavior?

Thanks,
-Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 11 21:45:05 2006

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.