Nov 20 17:39:06 Hi all. http://paste.scsys.co.uk/161534 - svn ci -m hangs. svn ls, svn up, and the web-interface are working fine. I'm on x86-64 Mageia Linux 2 (cauldron). It worked in the past. Can anyone help? Nov 20 17:39:54 It's also from localhost to localhost and iptables is all-ACCEPT. Nov 20 17:46:18 OK, file:/// is working fine. Nov 20 17:46:29 As far as svn checkout and svn commit is concerned. Nov 20 17:47:59 <-- u19809 has quit (Read error: Connection reset by peer) Nov 20 17:53:37 --> u19809 (~quassel@83.101.5.59) has joined #svn Nov 20 17:54:00 <-- u19809 has quit (Read error: Connection reset by peer) Nov 20 17:56:14 --> u19809 (~quassel@83.101.5.59) has joined #svn Nov 20 17:56:26 <-- u19809 has quit (Remote host closed the connection) Nov 20 18:16:43 --> X-Scale` (email@sgi-ultra64.broker.freenet6.net) has joined #svn Nov 20 18:18:38 <-- X-Scale has quit (Ping timeout: 240 seconds) Nov 20 18:25:53 --> eoss (~e0s@pool-108-16-134-80.phlapa.fios.verizon.net) has joined #svn Nov 20 18:25:53 <-- eoss has quit (Changing host) Nov 20 18:25:53 --> eoss (~e0s@pdpc/supporter/student/eoss) has joined #svn Nov 20 18:49:46 --> StPiere (~daniel@HSI-KBW-078-043-035-118.hsi4.kabel-badenwuerttemberg.de) has joined #svn Nov 20 18:50:34 <-- sabor has quit (Quit: Leaving) Nov 20 18:50:53 hello, im just starting with svn ... how can i import and set project localy from remote http/ftp host under svn version controll ? Nov 20 19:03:50 StPiere: hi. Nov 20 19:04:29 StPiere: you can use "svn co http://URL/to/your/trunk" to checkout a working copy. Nov 20 19:06:05 StPiere: if I understood you correctly. Nov 20 19:18:19 KarlHungus: what do you want to know about svn.a.o ? Nov 20 19:18:59 KarlHungus: http://svn-master.apache.org/dump/ Nov 20 19:19:42 rindolf: try disabling HTTPv2, does the problem persist? Nov 20 19:20:02 SVNAdvertiseV2Protocol Nov 20 19:20:03 danielsh: how do I disable it? Nov 20 19:20:06 ^ Nov 20 19:20:10 set that to off Nov 20 19:20:14 danielsh: OK. Nov 20 19:23:42 danielsh: no, it does not fix the problem. Nov 20 19:24:13 danielsh: hi! You remember about tomorrow, right? Nov 20 19:24:25 rindolf: yes Nov 20 19:24:38 danielsh: nice. Nov 20 19:24:45 danielsh: I didn't recall you being on #svn . Nov 20 19:24:51 Not that I'm here a lot anymore. Nov 20 19:24:55 I'm not usually active here rindolf Nov 20 19:25:03 danielsh: ah. Nov 20 19:25:06 I lurk here and occasionally chime in from the peanut gallery Nov 20 19:25:15 danielsh: peanut gallery? Nov 20 19:25:20 idiom Nov 20 19:25:41 from afar Nov 20 19:26:22 danielsh: ah. Nov 20 19:26:30 Wasn't familiar with that idiom. :-S Nov 20 19:26:47 I'm slightly abusing it rindolf Nov 20 19:26:59 danielsh: ah. Nov 20 19:27:15 Normally it's used by inactive devs chiming into a discussion Nov 20 19:27:26 should say, now-inactive devs Nov 20 19:27:30 Anyway, your paste Nov 20 19:27:37 The last thing that happens, create-txn Nov 20 19:28:08 Well, the name is self-explanatory, it creates a txn (before sending modifications over the wire) Nov 20 19:28:15 for some reason that doesn't work Nov 20 19:28:27 permissions on $REPOS/db/ would be the first suspect Nov 20 19:28:34 as well as the usual question, Nov 20 19:28:41 what did you change since the last time it worked? Nov 20 19:28:43 rindolf: EOT Nov 20 19:29:27 danielsh: it works with subversion-1.6.x. Nov 20 19:29:37 on the server or on the client? Nov 20 19:29:42 danielsh: after I downgrade to their packages. Nov 20 19:29:45 danielsh: on the server. Nov 20 19:29:58 danielsh: the permissions on $REPOS/db allow for file:/// commits. Nov 20 19:30:06 danielsh: I'm running everything as the same user. Nov 20 19:30:11 rindolf: if commits work with 1.6 server, Nov 20 19:30:19 that's sufficient evidence that perms are fine Nov 20 19:30:49 Trying to figure out if it's a known issue Nov 20 19:30:57 You said it still fails with HTTPv2 disabled. Nov 20 19:31:01 danielsh: yes. Nov 20 19:31:04 Do you have nested blocks by chance in httpd.conf ? Nov 20 19:31:11 I added SVNAdvertiseV2Protocol off Nov 20 19:31:19 (and restarted httpd) Nov 20 19:31:53 danielsh: yes, I restarted httpd. Nov 20 19:32:01 danielsh: s are not nested. Nov 20 19:32:19 <-- orafu has quit (Disconnected by services) Nov 20 19:32:31 --> orafu (~od@opensuse/member/odabrunz) has joined #svn Nov 20 19:32:41 rindolf: my next suspect is some httpd.conf settings Nov 20 19:32:54 danielsh: OK, let me pastebin it. Nov 20 19:32:58 kk Nov 20 19:33:46 danielsh: http://paste.debian.net/146407/ Nov 20 19:34:05 --> khmarbaise (~khmarbais@pD9F730CB.dip.t-dialin.net) has joined #svn Nov 20 19:35:46 your svn-test-work blocks need to grow the new Redirect directives Nov 20 19:36:03 httpd/httpd.conf:RedirectMatch permanent ^/svn-test-work/repositories/REDIRECT-PERM-(.*)$ /svn-test-work/repositories/$1 Nov 20 19:36:05 httpd/httpd.conf:RedirectMatch ^/svn-test-work/repositories/REDIRECT-TEMP-(.*)$ /svn-test-work/repositories/$1 Nov 20 19:36:34 Nothing jumps out at me from the httpd.conf rindolf Nov 20 19:37:08 strace time? Nov 20 19:37:36 rindolf, thanks Nov 20 19:37:47 danielsh: OK. Nov 20 19:39:15 --> khmarbaise_ (~khmarbais@p4FFCCFCB.dip.t-dialin.net) has joined #svn Nov 20 19:39:20 danielsh: how do I properly strace httpd? It forks. Nov 20 19:39:26 StPiere: you're welcome. Nov 20 19:39:58 Do you use a threaded mpm? Nov 20 19:40:11 If not you could strace just the child responsible for the commit Nov 20 19:40:16 And to answer your question, Nov 20 19:40:17 <-- khmarbaise has quit (Ping timeout: 258 seconds) Nov 20 19:40:17 --- khmarbaise_ is now known as khmarbaise Nov 20 19:40:19 'httpd -X' Nov 20 19:40:21 (or 'svnserve -X') Nov 20 19:40:23 don't fork Nov 20 19:40:31 obviously not directly doable in a production setup though. Nov 20 19:42:22 --> DannyB (~dannyb@pool-96-255-127-190.washdc.fios.verizon.net) has joined #svn Nov 20 19:42:22 --- ChanServ gives channel operator status to DannyB Nov 20 19:46:59 danielsh: http://paste.scsys.co.uk/161538 - here is the httpd.strace. Nov 20 19:49:26 rindolf: looks like it doesn't honor the DAV/SVNPath directives Nov 20 19:49:30 danielsh: ah. Nov 20 19:49:38 it tries to parse POST /svn/... as a request to a file svn under docroot Nov 20 19:49:57 (also, the fact it POSTs suggests httpv2 is enabled still) Nov 20 19:51:01 danielsh: where should I put the «SVNAdvertiseV2Protocol off» directive? Nov 20 19:51:11 danielsh: I placed it before and outside all Nov 20 19:51:20 rindolf: try in scope then? Nov 20 19:51:35 danielsh: OK. Nov 20 19:51:47 /* per directory/location */ Nov 20 19:51:49 AP_INIT_FLAG("SVNAdvertiseV2Protocol", SVNAdvertiseV2Protocol_cmd, NULL, Nov 20 19:51:51 ACCESS_CONF|RSRC_CONF, Nov 20 19:51:53 "enables server advertising of support for version 2 of " Nov 20 19:51:55 "Subversion's HTTP protocol (default values is On)."), Nov 20 19:51:57 rindolf: ^^ Nov 20 19:52:14 danielsh: OK. Nov 20 19:52:17 danielsh: now it's OK. Nov 20 19:52:25 danielsh: I mean - I can commit. Nov 20 19:52:34 OK. Nov 20 19:52:43 So we've isolated this to httpv2. Nov 20 19:52:47 danielsh: well, it should error if it's outside a . Nov 20 19:52:49 danielsh: yes. Nov 20 19:52:54 +1 Nov 20 19:53:03 can you drop a note on that to dev@ Nov 20 19:53:13 I might take a look if no one beats me to it Nov 20 19:53:57 danielsh: I guess. Nov 20 19:54:08 danielsh: I can send an email to dev@ without being subscribed, right? Nov 20 19:54:15 rindolf: yes Nov 20 19:54:20 danielsh: OK. Nov 20 19:54:29 New Revision: 1187695 Nov 20 19:54:39 danielsh: what? Nov 20 19:54:41 rindolf: ^^ can you test if merging this trunk revision fixes your issue? Nov 20 19:54:51 rindolf: [ mispaste, I didn't realize the paste included a \n ] Nov 20 19:55:14 danielsh: I've installed svn from the 1.7.1 tarball. Nov 20 19:55:15 The symptom reported back then was errors, which isn't what you saw, Nov 20 19:55:18 but it sounds relevant Nov 20 19:55:21 danielsh: how am I supposed to merge a trunk revision? Nov 20 19:55:31 danielsh: is there a patch? Nov 20 19:55:33 rindolf: svn di -c 1187695 http://svn.apache.org/repos/asf/subversion/trunk | patch -p0 Nov 20 19:55:49 well, not -p0 perhaps Nov 20 19:55:52 but you get the idea Nov 20 19:56:17 danielsh: OK, let me try. Nov 20 19:56:22 Thanks Nov 20 20:10:10 i have ftp access to repsitory ...how can i set up a local copy , work on it , commitint changes localy and then commit back to remote server ? Nov 20 20:12:38 can i just download the files via ftp, and make local repo ? Nov 20 20:13:07 StPiere: SVN cannot tunnel its protocol over FTP. Nov 20 20:13:24 StPiere: do you want the official answer or the practical answer? Nov 20 20:13:57 try practical Nov 20 20:14:06 StPiere: yes, you can download the files to your file system and import them into the svn repository. Nov 20 20:14:40 It might work if you know what parts to avoid Nov 20 20:15:01 eg, for FSFS you'd need to disable the rep-cache Nov 20 20:15:17 similarly for BDB you'd need to account for platform-dependent files and concurrency issues Nov 20 20:15:29 in short, probably easier to use a supported access method Nov 20 20:15:35 thanks guys Nov 20 20:15:40 danielsh: same symptoms with this patch applied. Nov 20 20:18:28 A couple of things you could try at this point then. Nov 20 20:18:41 1. /branches/1.7.x@HEAD Nov 20 20:18:47 2. narrowing down the httpd config Nov 20 20:19:06 (aka binary search culprit modules) Nov 20 20:19:14 3. posting to users@ for other's ideas Nov 20 20:19:20 rindolf: EOT Nov 20 20:19:46 danielsh: what should I do? Nov 20 20:19:57 danielsh: you've suggested at least 4 different things. Nov 20 20:20:08 danielsh: I can try removing modules from httpd Nov 20 20:20:36 rindolf: I'm suggesting several options :-) Nov 20 20:21:02 If you build from head, note that building not from a tarball additionally requires autoconf Nov 20 20:29:20 danielsh: OK, I removed all possible Apache modules -still getting the symptoms. Nov 20 20:29:30 danielsh: should I post to users@ or dev@ Nov 20 20:29:33 ? Nov 20 20:29:54 rindolf: users@ please for the bug Nov 20 20:29:57 regression Nov 20 20:30:06 danielsh: what? Nov 20 20:30:30 rindolf: users@ for the regression, please Nov 20 20:30:43 danielsh: which regression? Nov 20 20:30:51 either list for the 'the directive should hard error when used out of block' Nov 20 20:30:56 --> Giles (~giles@cpc1-camd3-0-0-cust382.hari.cable.virginmedia.com) has joined #svn Nov 20 20:30:58 rindolf: the one we've been debugging for the last 30 minutse Nov 20 20:31:04 You said it works when you downgrade to 1.6.x Nov 20 20:31:07 with the same config Nov 20 20:31:08 <-- Giles has quit (Client Quit) Nov 20 20:31:11 => it's a regression Nov 20 20:31:19 --> khmarbaise_ (~khmarbais@pD9F710CE.dip.t-dialin.net) has joined #svn Nov 20 20:31:19 danielsh: OK. Nov 20 20:31:33 rindolf: thanks Nov 20 20:33:34 <-- khmarbaise has quit (Ping timeout: 258 seconds) Nov 20 20:33:34 --- khmarbaise_ is now known as khmarbaise Nov 20 20:35:40 i have created repository and imported files with svn import Nov 20 20:36:09 when i now run svn status in the working directory im getting error : '.' is not a working copy Nov 20 20:36:09 --> DofLeFou (~DofLeFou@host-174-44-162-251.hln-mt.client.bresnan.net) has joined #svn Nov 20 20:37:17 what am i doing wrong ? Nov 20 20:37:26 --> saturnjct1 (~Shane_Tur@blk-30-129-50.eastlink.ca) has joined #svn Nov 20 20:38:39 StPiere: you need to checkout the directory from the repository. Nov 20 20:38:46 StPiere: import does not create a working copy. Nov 20 20:39:10 ok Nov 20 20:39:33 thanks Nov 20 20:40:13 i have done checkout and now i have a copy of my directory withins the main directory Nov 20 20:40:34 should i then edit files in this new directory? Nov 20 20:42:53 StPiere: yes. Nov 20 20:43:09 thanks Nov 20 20:43:16 sorry for many questions