Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 78503 invoked from network); 7 Jan 2011 13:57:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 13:57:54 -0000 Received: (qmail 49516 invoked by uid 500); 7 Jan 2011 13:57:54 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 49300 invoked by uid 500); 7 Jan 2011 13:57:53 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 49287 invoked by uid 99); 7 Jan 2011 13:57:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 13:57:53 +0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=FSL_RU_URL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sudakov@sibptus.tomsk.ru designates 212.73.124.8 as permitted sender) Received: from [212.73.124.8] (HELO relay2.tomsk.ru) (212.73.124.8) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 13:57:46 +0000 X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 15338089 for users@subversion.apache.org; Fri, 07 Jan 2011 19:57:21 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.3/8.14.3) with ESMTP id p07DvKbS040148 for ; Fri, 7 Jan 2011 19:57:21 +0600 (OMST) (envelope-from sudakov@sibptus.tomsk.ru) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.3/8.14.3/Submit) id p07DvKV7040147 for users@subversion.apache.org; Fri, 7 Jan 2011 19:57:20 +0600 (OMST) (envelope-from sudakov@sibptus.tomsk.ru) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to sudakov@sibptus.tomsk.ru using -f Date: Fri, 7 Jan 2011 19:57:20 +0600 From: Victor Sudakov To: users@subversion.apache.org Subject: Re: "svnadmin load" a huge file Message-ID: <20110107135720.GA39540@admin.sibptus.tomsk.ru> References: <20101231030732.GA52945@admin.sibptus.tomsk.ru> <20101231090740.GA27220@daniel3.local> <20101231150933.GA59535@admin.sibptus.tomsk.ru> <4D1DF857.5070605@gmail.com> <20101231161546.GA69395@admin.sibptus.tomsk.ru> <4D2270DD.5070601@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2270DD.5070601@gmail.com> User-Agent: Mutt/1.4.2.3i Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 Brian Brophy wrote: > > > >>I migrated a large CVS repository (25-50 GB) to SVN years ago on SVN > >>1.3. Our repo had many sections (projects) within it. We had to > >>migrate each project independently so that it's team could coordinate > >>when they migrated to SVN. As such, I dumped each project when ready > >>and then svnadmin loaded each dump into it's own path/root (so as not to > >>overwrite anything previously loaded and unrelated to this project's > >>import). > >> > >>So, you can do it by controlling which path/portion of CVS you use > >>cvs2vn to create the dump file from. > >> > > > >The CVS repository in question (with the size 54M with 17751 files) is > >exactly one project. It's the history of a geographical DNS zone for > >more than 10 years. > Fair enough, the same pattern is still applicable. For example, in our > CVS repo what separated one "project" from another was basically a > root-level folder. > > In kind, you could similarly use cvs2svn to "chunk/dump" subdirectories > at a time. > > For example, if in CVS you have something like: > /Folder1 > /Folder2 > /Folder3 > > ... you run cvs2svn three times, once for each subdirectory, producing > folder1.dump, folder2.dump, and folder3.dump respectively. > > Then, svnadmin load each individually: It would be fine if the project in question did not contain almost all the files in one directory. You may call the layout silly, but CVS does not seem to mind. OTOH, I would have distributed the files over several subdirectories, but CVS does not handle moving files well. I wonder if cvs2svn is to blame that it produces a dump svnadmin cannot load. Or I am always risking that "svnadmin dump" may one day produce a dump a subsequent "svnadmin load" will be unable to swallow? I mean, if by hook or by crook, by using third party utilities like svndumptool, I will eventually be able to convert this project from CVS to SVN. Is there a chance that a subsequent dump will be again unloadable? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru