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

RE: [BUG] svn update produces unexpected result

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 13 Mar 2017 09:14:01 +0100

The last change revision is documented to be the last revision in which that
node changed.

 

The revision number in Subversion is global for the repository, so not
changing every file in every revision is 100% expected behavior. And this is
the reason we show these different revisions.

 

See the Subversion documentation for the fine details. (E.g.
http://svnbook.red-bean.com )

 

The help from --revision shows that we have even more interesting revisions
tied to a file:

-r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)

                             A revision argument can be one of:

                                NUMBER revision number

                                '{' DATE '}' revision at start of the date

                                'HEAD' latest in repository

                                'BASE' base rev of item's working copy

                                'COMMITTED' last commit at or before BASE

                                'PREV' revision just before COMMITTED

 

 

                Bert

 

 

From: Deng, Xiao [mailto:Xiao.Deng_at_garmin.com]
Sent: vrijdag 10 maart 2017 19:48
To: users_at_subversion.apache.org
Subject: [BUG] svn update produces unexpected result

 

Hi,

 

When using svn update on a file with -r flag from one revision to another
where the content of the file at both revisions are identical, the last
commit of result file appears to be out of sync.

 

Example:

Foo.txt have identical content at r100 and r200

Foo.txt is at base revision r100

svn update Foo.txt -r200

svn status Foo.txt -v --xml

Expected:

                base revision === last commit revision === 200

Actual:

                base revision === 200 !== last commit revision === 100

 

Best Regards,

________________________

Xiao Deng

Software Engineer 2

Aviation | Garmin International

Xiao.Deng_at_garmin.com

 

 

  _____

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use
of the intended recipient(s) and contain information that may be Garmin
confidential and/or Garmin legally privileged. If you have received this
email in error, please notify the sender by reply email and delete the
message. Any disclosure, copying, distribution or use of this communication
(including attachments) by someone other than the intended recipient is
prohibited. Thank you.

image001.png
Received on 2017-03-13 09:14:14 CET

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.