[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 10 Feb 2011 09:58:59 +0000

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

-- 
Philip
Received on 2011-02-10 10:59:41 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.