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

RE: Feature request: retain query in

From: Rob Hubbard <rob.hubbard_at_softel.co.uk>
Date: Fri, 21 Aug 2009 16:09:10 +0100

Hello,

Thanks Johan for the information.
(And I was only joking when I put the "1.6.5" in my suggested generated
content!)

(1) [Attn: Dev]

I've just noticed that the information in CHANGES has the wrong revision
number: 38201 should be 38021 (i.e. digits were transposed). That was
the case at revision 38904 of
<http://svn.collab.net/repos/svn/trunk/CHANGES>.

(2)

I have an additional minor question:

Is this syntax expected to work with the SVN command-line client? Or is
this something specific to the serving of listings in the browser.

That is, in a browser I can write:
        http://svn/path/repos/dir/subdir/?p=1000&r=1234
can I expect to be able to use this in a command shell (e.g. DOS or
Bash):
        svn ls 'http://svn/path/repos/dir/subdir/?p=1000&r=1234'
or must I continue to use
        svn ls http://svn/path/repos/dir/subdir@1000 -r1234

(I realise that the query syntax is an HTTP-specific URL syntax.)

(3)

Incidentally, I noticed another minor problem:

In a browser I can write
        http://svn/path/repos/dir/subdir/?p=1000&r=1234
and
        http://svn/path/repos/dir/subdir/file.txt?p=1000&r=1234
but not
        http://svn/path/repos/dir/subdir?p=1000&r=1234
that is: on a directory, the final slash is required on a directory URL.
(Without a query, the browser, or perhaps the web server, will supply a
missing slash.)

(This is with SVN version 1.6.4)

Thanks again,
Rob.

Rob Hubbard

> -----Original Message-----
> From: Johan Corveleyn [mailto:johan.corveleyn_at_uz.kuleuven.ac.be]
> Sent: 20 August 2009 15:25
> To: Rob Hubbard
> Cc: users_at_subversion.tigris.org
> Subject: RE: Feature request: retain query in
>
> You are absolutely right, and I guess help is on the way: it
> seems this will be fixed in the upcoming release 1.6.5.
>
> See:
> http://subversion.tigris.org/issues/show_bug.cgi?id=3425
> http://svn.collab.net/repos/svn/trunk/CHANGES
>
> quote from CHANGES file:
> --------
> Version 1.6.5
> (21 Aug 2009, from /branches/1.6.x)
> http://svn.collab.net/repos/svn/tags/1.6.5
>
> User-visible changes:
> * fix mod_dav_svn directory view links to preserve peg
> revisions (r38201)
> ...
> --------
>
> So, just wait a couple more days :).
>
> Regards,
> Johan
>
> > -----Oorspronkelijk bericht-----
> > Van: Rob Hubbard [mailto:rob.hubbard_at_softel.co.uk]
> > Verzonden: donderdag 20 augustus 2009 16:11
> > Aan: users_at_subversion.tigris.org
> > Onderwerp: Feature request: retain query in
> >
> > 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
> > Subversion
> > 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
> > Subversion
> > 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=2386035

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-21 17:10:13 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.