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

Feature request: retain query in

From: Rob Hubbard <rob.hubbard_at_softel.co.uk>
Date: Thu, 20 Aug 2009 15:11:16 +0100

Hello,

I was very glad to see the introduction of revision and peg syntax for
HTTP URLs in SVN 1.6 as described in

        "New public 'historical' HTTP URI syntax for mod_dav_svn
(server)"
        
<http://subversion.tigris.org/svn_1.6_releasenotes.html#historical-uris>

I note, however, when browsing a repository (in a web browser; I'm using
Firefox 3) that the links do not retain the query part of the URL.

It would be really helpful if all the links in the page generated by
        http://svn/path/repos/dir/subdir?p=1000&r=1234
retained the
        ?p=1000&r=1234
part.

The peg could also be shown using the @ notation.
Links could also be provided for selecting the HEAD revision.

Thus the source for the page generated for the above URL might be

        <html><head><title>repos - Revision 1234:
/dir/subdir_at_1000</title></head>
        <body>
         <h2>repos - Revision 1234: /dir/subdir_at_1000</h2>
         <ul>
          <li>HEAD</li>
          <li>..</li>
          <li>file1.txt</li>
          <li>file2.txt</li>
          <li>file3.txt</li>
         </ul>
         <hr noshade><em>Powered by
                <a href="http://subversion.tigris.org/">Subversion</a>
                version 1.6.5 (r64000).</em>
        </body></html>

instead of

        <html><head><title>repos - Revision 1234:
/dir/subdir</title></head>
        <body>
         <h2>repos - Revision 1234: /dir/subdir</h2>
         <ul>
          <li>..</li>
          <li>file1.txt</li>
          <li>file2.txt</li>
          <li>file3.txt</li>
         </ul>
         <hr noshade><em>Powered by
                <a href="http://subversion.tigris.org/">Subversion</a>
                version 1.6.4 (r38063).</em>
        </body></html>

I suppose you can't really expect a browser to be a full
"Tortoise-style" repository browser, but losing the query on the links
is not expected behaviour.

Thanks,
Rob.

________________________________________________________________
This message has been independently scanned for the Softel Group and cleared of containing viruses and other malicious data.

Powering Television Beyond the Video (TM)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385632

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-20 16:12:34 CEST

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.