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

RE: svn checkout reports incorrect version numbers

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Wed, 16 Apr 2008 12:05:42 -0500

> -----Original Message-----
> From: Kevin Strickland [mailto:kevin_at_msdc.com]
> Sent: Tuesday, April 15, 2008 12:15 PM
> To: users_at_subversion.tigris.org
> Subject: svn checkout reports incorrect version numbers
>
> I am running svn version 1.4.0 (r21228) on SUSE Linux 10.2 for the
> client and server.
> Below is a diagram of my project:
>
> Path Version
> ----------------------------
> project/trunk 1
> project/trunk 2
> project/trunk 3
>
> project/branches/1.0 4
> project/branches/1.0 5
>
> project/trunk 6
>
> Check out the trunk and the branch using the following commands. Both
> report that the checked out version is 6. When the branch version is
> really version 5.
>
> svn checkout file:///usr/svn/repos/project/trunk dir1
> svn checkout file:///usr/svn/repos/project/branches/1.0 dir2
>
> Is this the correct behavior? This is confusing to users when they
> checkout the branch and see the wrong version reported by the checkout
> command.
>

Correct behavior. You're probably expecting 'Last Change Rev'.

If you do an 'svn info' on the url or in the workspace for a file or
dir, you'll see:
        Revision: 6
        Last Changed Rev: 5

Revision is the Repository revision at the time of the check-out. Last
Changed Rev can be different for every file in the sub-tree that you
checked out (and will be less than or equal to the Repository revision
number.)

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA625

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-16 19:07:20 CEST

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.