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

RE: can mod_dav_svn 1.5 deny access from earlier clients?

From: <david.x.grierson_at_jpmorgan.com>
Date: Tue, 5 Aug 2008 09:12:53 +0100

Issue 3255 raised for this:
http://subversion.tigris.org/issues/show_bug.cgi?id=3255

Dg.

--
David Grierson
JPMorgan - IB Architecture - Source Code Management Consultant
GDP 228-5574 / DDI +44 141 228 5574 / Email david.x.grierson_at_jpmorgan.com
Alhambra House 6th floor, 45 Waterloo Street, Glasgow G2 6HS
 
 IB Architecture - AD Tools - Tel 8 228 5574
David X Grierson/JPMCHASE
04/08/2008 12:10
To
markphip_at_gmail.com
cc
users_at_subversion.tigris.org, dev_at_subversion.tigris.org
Subject
RE: can mod_dav_svn 1.5 deny access from earlier clients?
(copied to dev@... as I think this one's a defect).
Except that this appears to be broken if you're using mod_dav_svn 1.5.0.
As previously posted by Jacky-10:
http://svn.haxx.se/users/archive-2008-07/0730.shtml
> I notice the commit action in mod_dav_svn involves a few steps. The
> first step uses OPTIONS which includes DAV: .../mergeinfo in the http
> header. But the following steps (PROPFIND, MKACTIVITY) don't include
> this header which seems to make svn server calling start-commit script
> without mergeinfo capability."
I've confirmed this in an ethereal session (attached) - the capabilities 
parameters are listed in the DAV: parameters passed to the HTTP request 
but are not being passed through to the start-commit script.
OPTIONS /svn/repos/david.x.grierson/trunk/src HTTP/1.1
Host: 192.168.56.128
User-Agent: SVN/1.5.0
Keep-Alive:
Connect: TE, Keep-Alive
TE: trailers
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Accept-Encoding: gzip
Whereas the the start-commit output is:
svn: Commit failed (details follow):
svn: Commit blocked by start-commit hook (exit code 1) with output:
Repo path: [/opt/svnroot/david.x.grierson]
Username: []
Capabilities: []
Sorry - you are using a pre-1.5.x Subversion client - exiting!
start-commit hook script and ethereal session attached.
[attachment "start-commit" deleted by David X Grierson/JPMCHASE] 
[attachment "transcript.zip" deleted by David X Grierson/JPMCHASE] 
I'll raise this as a defect against 1.5.0 - I don't have a build of 1.5.1 
yet so can't confirm whether it's still present in that.
Dg.
--
David Grierson
JPMorgan - IB Architecture - Source Code Management Consultant
GDP 228-5574 / DDI +44 141 228 5574 / Email david.x.grierson_at_jpmorgan.com
Alhambra House 6th floor, 45 Waterloo Street, Glasgow G2 6HS
 
"David Moxon" <dmoxon_at_gmail.com> 
28/07/2008 20:01
To
<users_at_subversion.tigris.org>
cc
Subject
RE: can mod_dav_svn 1.5 deny access from earlier clients?
Ah perfect, I must have missed that.  Thanks!
-----Original Message-----
From: Mark Phippard [mailto:markphip_at_gmail.com] 
Sent: Monday, July 28, 2008 11:55 AM
To: David Moxon
Cc: users_at_subversion.tigris.org
Subject: Re: can mod_dav_svn 1.5 deny access from earlier clients?
On Mon, Jul 28, 2008 at 2:49 PM, David Moxon <dmoxon_at_gmail.com> wrote:
> I tried to look for how subversion 1.5 handles this mixed client server
> version situation, but it is unclear.  The documentation states that 
merge
> tracking is only supported if both server and client are version 1.5, 
but
> does not state what happens if an earlier client attempts to perform
> (legacy-style) merges against a 1.5 server and repository with merge
> tracking information in use by others.
>
> If this scenario is not supported, is it possible to deny access to a
> repository from clients earlier than 1.5?
This is addressed in the book:
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.advanced.html#svn.bra
nchmerge.advanced.pre1.5clients
-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Generally, this communication is for informational purposes only
and it is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation
of any transaction. In the event you are receiving the offering
materials attached below related to your interest in hedge funds or
private equity, this communication may be intended as an offer or
solicitation for the purchase or sale of such fund(s).  All market
prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice.
Any comments or statements made herein do not necessarily reflect
those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-05 10:13:44 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.