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

How to differentiate the PROPFIND /svn/repo/!svn/vcc/default for commit Vs some read operation

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Tue, 22 Dec 2009 20:44:00 +0530

Hi All,

Of late we have observed errors like the following when committing via
the european mirror.

<snip>

"The specified baseline is not the latest baseline, so it may not be checked
out."
</snip>

This error happens as the following request part of the commit operation is *served by mirror*.
PROPFIND /svn/repo/!svn/vcc/default HTTP/1.1

We can proxy this request to the Master but we *should not* do that if it is for read operation.

Unfortunately I could *not* identify the above PROPFIND is for read ops or write ops.

Request body for this request remains same between the read and write operation as follows

<snip>
<?xml version="1.0" encoding="utf-8"?><propfind xmlns="DAV:"><prop><checked-in xmlns="DAV:"/></prop></propfind>
</snip>

May be I can set some persistent data structure at the connection scope remembering the invocation of prior 'MKACTIVITY' and
decide whether it is PROPFIND for commit or 'some read ops'.

Any thoughts!

Thanks
With regards
Kamesh Jayachandran
Received on 2009-12-22 16:15:16 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.