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

Re: write-thru proxy problems

From: Steve Whitson <steven.whitson_at_gmail.com>
Date: Thu, 18 Dec 2008 15:14:11 -0600

Hi Kylo,

This looks to be the exact problem (yea!). Of course it will take me a
bit to patch, rebuild and try out the patch-fix.

Thanks much!
    -Steve

Kylo Ginsberg wrote:
> Steve,
>
> Sounds like this:
> http://subversion.tigris.org/issues/show_bug.cgi?id=3275
>
> Hth,
> Kylo
>
> On Thu, Dec 18, 2008 at 9:03 AM, Steve Whitson <steven.whitson_at_gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to get a write-thru proxy configuration working. I setup
>> svnsync and that went well. The write-thru proxy also seems to work
>> fine in several cases, except when I try to add a file to a folder and
>> commit it. I can add a folder with a file in it, but not a file in
>> isolation (to a already committed folder). I have captured a transcript
>> of my actions below. This is a brand new repository. I even created
>> the top-3 folders through the sync-target system (named efabzone), which
>> worked just fine. See below for my creation of a file w/in a master
>> working-copy, the creation & commit of a folder (and file in that
>> folder) w/in a sync-target working-copy, and then my problem case,
>> creating a file (and committing it) in the sync-target when the folder
>> already exists and is already committed.
>>
>> Any ideas? Thanks much,
>> -Steve
>>
>> ---------------------------------------------------------
>> WORKING IN A MASTER WORKING COPY
>>
>> >svn co http://svnhost/svnntest/test10
>> A test10\trunk
>> A test10\branches
>> A test10\tags
>> Checked out revision 1.
>>
>> >cd test10
>> >cd trunk
>>
>> >notepad a.txt
>>
>> >svn add a.txt
>> A a.txt
>>
>> >svn -m 'test' commit
>> Adding trunk\a.txt
>> Transmitting file data .
>> Committed revision 2.
>>
>> --------------------------------
>>
>> WORKING IN A SYNC-TARGET WORKING COPY
>>
>> H:\svnprojects\capture\target>svn co http://efabzone/svntest/test10
>> A test10\trunk
>> A test10\trunk\a.txt
>> A test10\branches
>> A test10\tags
>> Checked out revision 2.
>>
>> >cd test10\trunk
>> >mkdir tfolder
>> >cd tfolder
>> >notepad b.txt
>> >cd ..
>>
>> >svn add tfolder
>> A tfolder
>> A tfolder\b.txt
>>
>> >svn -m 'test' commit
>> Adding trunk\tfolder
>> Adding trunk\tfolder\b.txt
>> Transmitting file data .
>> Committed revision 3.
>>
>> >svn update
>> At revision 3.
>>
>> >svn commit -m "commit added file"
>> Adding trunk\c.txt
>> svn: Commit failed (details follow):
>> svn: Server sent unexpected return value (400 Bad Request) in response
>> to PROPFIND request for
>> '/svntest/test10/!svn/wrk/bfb9dd10-9b83-3e4b-8100-fbde6053222b/trunk/c.txt'
>>
>> ------------------------------------------------------------------------------------
>> System Info
>> both Solaris 10 systems
>> apache 2.2.9 on master
>> apache 2.2.10 on sync target
>> subvesion 1.5.4 on both
>>
>> Hook Scripts
>> master:
>>
>> post-revprop-change contains the line
>> /usr/local/subversion/bin/svnsync --config-dir /etc/svn/.subversion
>> --non-interactive copy-revprops http://efabzone/sstest/test02 ${REV}
>> >>& $lfile &
>>
>> post-commit contains the line
>> /usr/local/subversion/bin/svnsync --config-dir /etc/svn/.subversion
>> --non-interactive sync http://efabzone/sstest/test10 >>& $lfile &
>>
>> sync target:
>>
>> pre-revprop-change contains the following
>> if [ "$USER" = "svnsync" ]; then exit 0; fi
>> echo "Only the special svnsync user can change revprops" >&2
>> exit 1
>>
>>
>> Apache configuration
>>
>> master:
>> <Location /svnntest/>
>> SVNParentPath /svndata/dbs/test
>> DAV svn
>> Require valid-user
>> </Location>
>>
>> sync target:
>> <Location /svntest/test10>
>> SVNPath /data/dbs/svn/test/test10
>> DAV svn
>> Require valid-user
>> SVNMasterURI http://svnhost/svnntest/test10
>> </Location>
>>
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=986820
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>>
>>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-18 22:15:11 CET

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.