From: Thomas Glanzmann Date: Tue, 24 May 2005 18:46:12 GMT Subject: Re: gitweb wishlist Message-ID: <20050524184612.GA23637@cip.informatik.uni-erlangen.de> In-Reply-To: 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 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