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

[TSVN] Question re repo-browser (*possible* bug)

From: <Bill.Hughes_at_cgi-europe.com>
Date: 2005-08-12 11:19:16 CEST

Often when I go into the repo browser I don't know what the current revision
number is but I want to look at the state of the project three version
previously (for example).
As there are multiple projects in the repo I normally then come out of the
repo browser and do something with 'Show Log'.
This time I decided to try changing the revision in the repo browser, and so
I changed it to '-3'. This attempted to browse a revision number too large
to fit on the revision button, I suspect this is a 32 bit integer. There
appears to be no checking on the revision number entered.
Actually it's a little more complex - the button shows a very big number but
if I try to open the folder in the repo I get ' Error * reference to
non-existent revision -3 in filesystem...'. If I try a rev of -1 I get
'Error * Berkely DB error for filesystem d:/.../db while reading filesystem
revision: Invalid argument bdb: illegal record number of 0'.

Two questions actually:
1) could the repo browser parse a rev no of the form '-x' to count back from
HEAD?
I don't see how this could be on a project/folder basis without a lot of
processing, but it would be nice.
2) it is unlikely to be an issue (!) should the rev no button handle numbers
longer than 8 digits?
Personally I doubt rev nos would ever get that large, but some form of
checking, preferably allowing negative offsets would be nice.
Any thoughts?

Bill

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Aug 12 11:26:56 2005

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