RE: Subversion checkout behavior at non-existent revision
From: Tati, Aslesh <atati_at_barclaycardus.com>
Date: Wed, 11 May 2016 15:46:04 +0000
It makes sense to me now.
Thank you Daniel.
-----Original Message-----
Tati, Aslesh wrote on Fri, May 06, 2016 at 21:33:40 +0000:
No.
«svn checkout -r 500 <REPO_URL>/branches/<BRANCH>» means "Look what BRANCH is in rHEAD, trace copies back to r500, then operate on that", which is why it checks out trunk_at_r500.
«svn checkout -r 500 <REPO_URL>/branches/<BRANCH>@500» will do what you expect (error out with "does not exist at that revision").
The peg revision of URLs defaults to HEAD. The operative revision defaults to the peg revision.
http://svnbook.red-bean.com/en/1.8/svn.advanced.pegrevs.html#svn.advanced.pegrevs.algorithm
Cheers,
Daniel
> If it has checked out without complaining, why does svn info using the second way of checkout show the unexpected result?
www.barclaycardus.com<http://www.barclaycardus.com>
This email and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on.
|
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.