Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F90E7403 for ; Mon, 29 Aug 2011 11:05:10 +0000 (UTC) Received: (qmail 43976 invoked by uid 500); 29 Aug 2011 11:04:56 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 40747 invoked by uid 500); 29 Aug 2011 11:04:37 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 40729 invoked by uid 99); 29 Aug 2011 11:04:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 11:04:32 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcaiod-ooo-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 11:04:25 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QxzdL-0007B1-34 for ooo-dev@incubator.apache.org; Mon, 29 Aug 2011 13:04:03 +0200 Received: from pd9e59e5d.dip.t-dialin.net ([217.229.158.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 13:04:03 +0200 Received: from mst by pd9e59e5d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 13:04:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ooo-dev@incubator.apache.org From: Michael Stahl Subject: SVN clients: svn, git-svn Date: Mon, 29 Aug 2011 13:03:29 +0200 Lines: 63 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9e59e5d.dip.t-dialin.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 X-Virus-Checked: Checked by ClamAV on apache.org hi all, i've checked out the Apache OOo trunk yesterday and committed some changes required to build it on my system. the official SVN client (version 1.6.17) likes to store every file that is checked out in uncompressed form, which takes a lot of space. > > du -sh trunk/ > 4,2G trunk/ fortunately you don't have to use the official SVN client; there are unofficial clients that are a bit more comfortable, notably HgSubversion and git-svn. e.g. install git-svn on Fedora: su -c 'yum install git-svn' check out the OOo repo like this: > git svn clone --username=myapacheid --stdlayout --revision 1162287:HEAD https://svn-master.apache.org/repos/asf/incubator/ooo/ notes: 1. set up --username correctly! 2. if the revision range isn't specified then git-svn will spend a _very_ long time looking at all revisions. 3. do not use svn.apache.org, but svn-master.apache.org. (see below) because git uses data compression this takes much less space (but the repacking does takes some time): > > du -sh ooo/ > 2,3G ooo/ now you can commit to the local git repository (but don't merge! git-svn can't handle that). if you want to update from the SVN server use "git svn rebase", which will also rebase your work on top of the SVN HEAD (conflict resolution may be required). to push changes to the SVN server use "git svn dcommit" Q: so why not use svn.apache.org but svn-master.apache.org? this is because svn.apache.org may go to either the master server or a mirror; when i used svn.a.o and "git svn dcommit" to push my changes, there was always an error and after every commit i had to manually call "git svn rebase" and then dcommit again (most annoying). the reason is that the mirror synchronization is not instantaneous, and so git-svn gets stale data from the mirror server. see also: http://web.archiveorange.com/archive/v/WwUr9JnfRyrEj8hOH5jY regards, michael