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

SubWCRev shows wrong $WCREV$ value following a deletion

From: Craig McQueen <craig.mcqueen_at_beamcommunications.com>
Date: Thu, 31 May 2012 07:18:16 +0000

I have found that if the most recent commit in a repository was a file deletion, then SubWCRev shows the wrong "last committed" value, that is, for $WCREV$.

To test this, I did the following on a test repository:

Rev 1: create a file "file.txt".
Rev 2: create a template for SubWCRev that contains $WCREV$.
Rev 3: delete the file "file.txt".

Then, I did an update and then ran SubWCRev on the template. It substituted 2 rather than 3 for $WCREV$. This looks like a bug. Is that right?

(Tortoise SVN 1.7.7 on Windows XP SP3 32-bit.)

Regards,
Craig McQueen

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2967690

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-06-02 02:18:23 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.