From: Thomas Glanzmann Subject: Re: gitweb wishlist Date: Tue, 24 May 2005 20:46:12 +0200 Message-ID: <20050524184612.GA23637@cip.informatik.uni-erlangen.de> References: <428E745C.30304@zytor.com> <4292A08A.5050108@cobite.com> <20050524161745.GA9537@cip.informatik.uni-erlangen.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" Cc: David Mansfield , "H. Peter Anvin" , Kay Sievers , Petr Baudis , Git Mailing List X-From: git-owner@vger.kernel.org Tue May 24 20:46:11 2005 Return-path: Received: from vger.kernel.org ([12.107.209.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaeOt-0004WY-6A for gcvg-git@gmane.org; Tue, 24 May 2005 20:45:11 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261208AbVEXSqq (ORCPT ); Tue, 24 May 2005 14:46:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261353AbVEXSqq (ORCPT ); Tue, 24 May 2005 14:46:46 -0400 Received: from faui03.informatik.uni-erlangen.de ([131.188.30.103]:1935 "EHLO faui03.informatik.uni-erlangen.de") by vger.kernel.org with ESMTP id S261208AbVEXSqV (ORCPT ); Tue, 24 May 2005 14:46:21 -0400 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [131.188.30.103]) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) with ESMTP id j4OIkCS8024504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 May 2005 18:46:12 GMT Received: (from sithglan@localhost) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) id j4OIkCrx024503; Tue, 24 May 2005 20:46:12 +0200 (CEST) To: Linus Torvalds Mail-Followup-To: Linus Torvalds , David Mansfield , "H. Peter Anvin" , Kay Sievers , Petr Baudis , Git Mailing List Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, > And if this doesn't work for you, point me to the CVS archive that causes > you trouble. you should try the mutt cvs repository[1]. I have the following issues all seem easy to fix: - PatchSet 1 depends on PatchSet 2 (but cvsps gets the ordering wrong; should be easy fixable) (I just swichted the two before running cvs2git) - Some Shell escapes (I didn't looked into them yet) (faui02new) [/var/tmp/sithglan/mutt-cvs] bash ~/work/cvsps/sane defaulting to local storage area Committing initial tree 7e68fd9a5104b61192a7da7357549d95b3a0620c Ignoring path .cvsignore ... /home/cip/adm/sithglan/work/cvsps/sane: line 1: ...: command not found /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 1: unexpected EOF while looking for matching `'' /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 4: syntax error: unexpected end of file /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 1: unexpected EOF while looking for matching `'' /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 5: syntax error: unexpected end of file /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 1: unexpected EOF while looking for matching `'' /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 2: syntax error: unexpected end of file /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 1: unexpected EOF while looking for matching `'' /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 3: syntax error: unexpected end of file /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 1: unexpected EOF while looking for matching `'' /home/cip/adm/sithglan/work/cvsps/sane: command substitution: line 26: syntax error: unexpected end of file But hey this looks really good: :-)))))) (faui02new) [/var/tmp/sithglan/mutt-cvs] git parent ~/work/mutt/git/mutt-cvs (faui02new) [/var/tmp/sithglan/mutt-cvs] git parentdiff (faui02new) [/var/tmp/sithglan/mutt-cvs] I think I will run my 'import patch by patch script again' and check the changesets against the cvs2git tree, but it looks fine for me. Thomas [1] To make it reproducable for you: I used the attached patch against cvsps-2.0rc1 which fixes date covnersion problems and of course includes the ancestor thing. rsync -r rsync://cvs.gnupg.org/mutt-cvs-rep mutt-cvs-rep --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff diff --git a/cvs_direct.c b/cvs_direct.c --- a/cvs_direct.c +++ b/cvs_direct.c @@ -126,7 +126,7 @@ CvsServerCtx * open_cvs_server(char * p_ send_string(ctx, "Root %s\n", ctx->root); /* this is taken from 1.11.1p1 trace - but with Mbinary removed. we can't handle it (yet!) */ - send_string(ctx, "Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Set-checkin-prog Set-update-prog Notified Module-expansion Wrapper-rcsOption M E F MT\n", ctx->root); + send_string(ctx, "Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Set-checkin-prog Set-update-prog Notified Module-expansion Wrapper-rcsOption M E F\n", ctx->root); send_string(ctx, "valid-requests\n"); @@ -894,6 +894,7 @@ char * cvs_rlog_fgets(char * buff, int b } else if (strcmp(lbuff, "ok") == 0 ||strcmp(lbuff, "error") == 0) { + debug(DEBUG_TCP, "cvs_direct: rlog: got command completion"); return NULL; } diff --git a/cvsps.1 b/cvsps.1 --- a/cvsps.1 +++ b/cvsps.1 @@ -3,7 +3,7 @@ CVSps \- create patchset information from CVS .SH SYNOPSIS .B cvsps -[-h] [-x] [-u] [-z ] [-g] [-s ] [-a ] [-f ] [-d [-d ]] [-l ] [-b ] [-r [-r ]] [-p ] [-v] [-t] [--norc] [--summary-first] [--test-log ] [--bkcvs] [--no-rlog] [--diff-opts