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

Re: Revprop of later revision folder

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-04-07 00:26:26 CEST

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

   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.


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

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.