On Thu, 26 Jul 2007 02:19:43 -0400, Joey Hess wrote: > I've set up a test repo that's reorganised using the new layout. > svn://svn.debian.org/svn/pkg-perl/test-repo/trunk/ That's a 300 mb > checkout. :-) Not that much :-) > If you have a few minutes try some things out and make sure it looks ok > and works with your tools. Commits here won't be saved. 1) "svn ls" and "svn co" work. 2) When I try an "svn-inject -l 2" (with your patch for svn-inject) I get: gregoa@belanna:/tmp/perl/trunk$ svn-inject -l 2 libio-compress-base-perl_2.005-1.dsc Use of uninitialized value in substitution (s///) at /usr/bin/svn-inject line 113. Use of uninitialized value in addition (+) at /usr/bin/svn-inject line 142. cp -l /tmp/perl/trunk/libio-compress-base-perl_2.005.orig.tar.gz /tmp/perl/trunk/tarballs mkdir -p branches/upstream/libio-compress-base-perl tar -z -x -f /tmp/perl/trunk/libio-compress-base-perl_2.005.orig.tar.gz mv IO-Compress-Base-2.005 current svn mkdir svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/branches -m create branches directory svn: Can't create directory '/svn/pkg-perl/test-repo/db/transactions/5983-1.txn': Permission denied svn mkdir svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/branches/upstream -m create branches/upstream directory svn: Can't create directory '/svn/pkg-perl/test-repo/db/transactions/5983-1.txn': Permission denied svn -q import -m [svn-inject] Installing original source of libio-compress-base-perl branches/upstream svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/branches/upstream svn: Can't create directory '/svn/pkg-perl/test-repo/db/transactions/5983-1.txn': Permission denied Command svn -q import -m [svn-inject] Installing original source of libio-compress-base-perl branches/upstream svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/branches/upstream failed in <unknown>, how to continue now? [Qri?]: q Aborting. Removing tempdir /tmp/tmp.DlTfH14745. I assume the problem is here: gregoa-guest@alioth:/svn/pkg-perl$ ll [..] drwxrwsr-x 7 joeyh joeyh 4096 Jul 26 06:13 test-repo ^^^^^ 3) As expected the same error occurs when I try to commit something. 4) "svn-upgrade" with a fake new upstream-version fails with: gregoa@belanna:/tmp/perl/trunk/libnet-amazon-perl$ svn-upgrade ../../net-amazon-0.44.tar.gz buildArea: /tmp/perl/trunk/build-area origDir: /tmp/perl/trunk/tarballs trunkDir: /tmp/perl/trunk/libnet-amazon-perl trunkUrl: svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl W: tagsUrl not specified anywhere, looking in the local repository... Looking in SVN for: svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../tags/ svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../../tags/libnet-amazon-perl/ Repository lookup, probing svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/tags... Failed, assuming non-existent directory...Looking in SVN for: svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../tags/ svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../../tags/libnet-amazon-perl/ Repository lookup, probing svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/tags/libnet-amazon-perl... I: adding the URLs to the /tmp/perl/trunk/libnet-amazon-perl/.svn/deb-layout to skip the check later. W: upsTagUrl not specified anywhere, looking in the local repository... Looking in SVN for: svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../branches/upstream svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../../branches/libnet-amazon-perl/upstream Repository lookup, probing svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/branches/upstream... Failed, assuming non-existent directory...Looking in SVN for: svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../branches/upstream svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/trunk/libnet-amazon-perl/../../branches/libnet-amazon-perl/upstream Repository lookup, probing svn+alioth://svn.debian.org/svn/pkg-perl/test-repo/branches/libnet-amazon-perl/upstream... upsTagUrl setting is required, but could not be found in /tmp/perl/trunk/libnet-amazon-perl/.svn/deb-layout or repository tree. Use of uninitialized value in concatenation (.) or string at /usr/bin/svn-upgrade line 360. Process ended with code Failed, assuming non-existent directory...gregoa@belanna:/tmp/perl/trunk/libnet-amazon-perl$ Looks like svn-upgrade (or to be more precise: /usr/share/svn-buildpackage/SDCommon.pm) doesn't like this layout, too. *sigh* Ok, ugly patch written: #434932 Another possibility might be to play around with the .svn/deb-layout files ... (With my patch the "guessing" for the paths works but the commit fails as expected.) Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Nirvana: Lithium
Attachment:
signature.asc
Description: Digital signature