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

Re: svn info and svnversion show wrong last committed revision when switching branches.

From: Bert Wesarg <bert.wesarg_at_googlemail.com>
Date: Thu, 10 Feb 2011 11:09:44 +0100

On Thu, Feb 10, 2011 at 10:58, Philip Martin <philip.martin_at_wandisco.com> wrote:
> Bert Wesarg <bert.wesarg_at_googlemail.com> writes:
>
>> svn switch ^/branches/branch
>> svn up
>> svn merge ^/trunk
>> svn ci -m "merging"
>> svn up
>> svnversion
>> # 6
>> svnversion -c
>> # 4:6
>> svn info
>> # Revision: 6
>> # Last Changed Rev: 6
>> svn switch ^/trunk
>> svn up
>>
>> # here it starts to show the wrong revision.
>>
>> svnversion
>> # 6
>> svnversion -c
>> # 2:6
>
> I think this is fixed on trunk.  I get your results with 1.6 and with
> 1.7 I get:
>
> $ svnversion -c svn-wc.12027/
> 2:5
> $ svn st -v svn-wc.12027/
>                 6        5 pm           svn-wc.12027
>                 6        2 pm           svn-wc.12027/file
>                 6        5 pm           svn-wc.12027/dir
>                 6        5 pm           svn-wc.12027/dir/sub-file
>

Good new, and thanks for looking into this.

Bert

>
> --
> Philip
>
Received on 2011-02-10 11:21:56 CET

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.