Rowell, Geoff wrote:
> Does it make sense that the following formula returns the "svn:date"
> value of revision 1 - even though the specified folder was not added until
> revision 2?
>
> (Subversion 1.1.3 (r12730))
>
> mkdir C:\svn_repos\p1
> svnadmin create C:\svn_repos\p1
> svn mkdir "file:///C|/svn_repos/p1/f1" -m "Adding first folder"
> svn mkdir "file:///C|/svn_repos/p1/f2" -m "Adding second folder"
> svn propget svn:date --revprop --revision 1 "file:///C|/svn_repos/p1/f2"
Yes. When you use --revprop, the only thing Subversion looks
at in the URL portion is the repository root. In your case,
p1/f2 didn't even exist at revision 1. --revprop retrieves
a property of the *revision* in the repository, not of the
path.
You could probably pass file:///C|/svn_repos/p1/f2/asdf/foo/bar and
it would still work, as Subversion stops looking at the path
after it finds the repository.
daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 7 02:10:15 2005