Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 89593 invoked from network); 7 Jul 2008 10:57:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 10:57:49 -0000 Received: (qmail 32425 invoked by uid 500); 7 Jul 2008 10:57:49 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 32353 invoked by uid 500); 7 Jul 2008 10:57:49 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 32342 invoked by uid 99); 7 Jul 2008 10:57:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 03:57:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.75.86.161] (HELO vafer.org) (208.75.86.161) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 10:56:54 +0000 Received: from dslb-084-058-022-105.pools.arcor-ip.net ([84.58.22.105]:33261 helo=[10.0.1.3]) by vafer.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.67) (envelope-from ) id 1KFoPB-0002iF-Oa for dev@commons.apache.org; Mon, 07 Jul 2008 10:57:14 +0000 Message-Id: <99DA15C9-BC8E-435C-92A4-ACA7B718309B@apache.org> From: Torsten Curdt To: "Commons Developers List" In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Git + tabs? Date: Mon, 7 Jul 2008 12:57:11 +0200 References: <31cc37360807060925r4d896df3j417c9bf8d4bf6f97@mail.gmail.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 7, 2008, at 12:40, Christian Grobmeier wrote: >> >> >> The compress codebase is full of tabs. If I go ahead and detab >> things, >> will that map happily over to your git tree? I don't want to make it >> too painful for you to produce a patch that can come back. >> > > I just reckoned that we didn't start to work against the svn codebase. > Instead of that we build the project from scrach, merging all > necessary > code into the GIT repos. I guess i have to merge everything manually. > If the policy is to use spaces instead of tabs, go ahead. > I will change that in the GIT repos too and hope that the merge > isn't too > heavy :-) Guys, hold your horse :) The PMC has voted and we will merge everything back to SVN. Whoever still wants to use git may still use git-svn of course. I reckon we start polishing there. But right now I am struggling with git to preserve to import it into svn preserving the commits history. :-( What I've tried: git-svn clone https://svn.apache.org/repos/asf/commons/sandbox/compress/branches/redesign --revision 674375 git-svn rebase Added to the .git/config: [remote "tcurdt"] url = git://vafer.org/compress.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "tcurdt"] remote = tcurdt merge = refs/heads/master Pull in the commits: git pull --rebase tcurdt master Rewrite the log messages: git filter-branch -f --msg-filter 'cat; if [ "$GIT_AUTHOR_NAME" = "Chris" ]; then echo; echo "Author: Christian Grobmeier (grobmeier@gmail.com )"; fi;' git filter-branch -f --msg-filter 'cat; if [ "$GIT_AUTHOR_NAME" = "Cy" ]; then echo; echo "Author: Christian Grobmeier (grobmeier@gmail.com )"; fi;' Commit to subversion: git svn dcommit Unfortunately the commit fails for me. And even "git-svn rebase" does no longer work at that stage. If anyone is more fluent with git - please help. cheers -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org