Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [WebSVN issue] [Issue 306] New - Comparing revisions fails because of missing repname parameter

websvn
Discussion topic

Back to topic list

[WebSVN issue] [Issue 306] New - Comparing revisions fails because of missing repname parameter

Reply

Author tiha
Full name Till Haselmann
Date 2010-10-11 04:46:25 PDT
Message http://websvn.tigris​.org/issues/show_bug​.cgi?id=306
                 Issue #|306
                 Summary|Comparing revisions fails because of missing repname p
                        |arameter
               Component|websvn
                 Version|2.3.1
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Unknown
             Assigned to|issues@websvn
             Reported by|tiha






------- Additional comments from tiha at tigris dot org Mon Oct 11 04:46:25 -0700 2010 -------
We have set up several local repos with WebSVN. Everything works fine, except
for the comparison of revisions. If we want to compare two revisions of a file
(using /websvn/comp.php), WebSVN passes the file names in the compare parameter
but does not specify the repository to use. As a result, the "compare revision"
switches to the "default" repository (the first in the list) and tries to
compare the pathes in that repo. When I manually add "repname=..." to the list
of parameters, the comparison seems to work fine.

Example of a URL generated by WebSVN:
/websvn/comp.php?com​pare[]=%2FBetterIntr​o%2Fintro-wrapper.rb​%401250&compare[​]=%2FBetterIntro%2Fi​ntro-wrapper.rb%4012​49

Example of a working URL:
/websvn/comp.php?com​pare[]=%2FBetterIntr​o%2Fintro-wrapper.rb​%401250&compare[​]=%2FBetterIntro%2Fi​ntro-wrapper.rb%4012​49&repname=mypro​ject

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

[WebSVN issue] [Issue 306] New - Comparing revisions fails because of missing repname parameter tiha Till Haselmann 2010-10-11 04:46:25 PDT
     [WebSVN issue] [Issue 306] Comparing revisions fails because of missing repname parameter dirkthomas Dirk Thomas 2010-10-11 04:48:51 PDT
     [WebSVN issue] [Issue 306] Comparing revisions fails because of missing repname parameter dirkthomas Dirk Thomas 2010-12-10 04:39:20 PST
     [WebSVN issue] [Issue 306] Comparing revisions fails because of missing repname parameter dirkthomas Dirk Thomas 2012-07-03 10:57:52 PDT
Messages per page: