[TRYTHIS] cvsimport: fix initial import
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 27, 2006, 10:35 UTC
- Message-ID
- <Pine.LNX.4.63.0606271234350.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <44A102F0.9090604@op5.se>
--- Hi,
On Tue, 27 Jun 2006, Andreas Ericsson wrote:
> Sadly, the cvsimport command no longer works to create new repositories from > scratch. I'm not nearly perl literate enough to fix it, but the problem seems > to be firstly 061303f0b50a648db8e0af23791fc56181f6bf93.
My bad. Could you try this patch on top of 'next'?
git-cvsimport.perl | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 50f5d96..f8eb6ef 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -471,7 +471,6 @@ my %index; # holds filenames of one inde $ENV{GIT_INDEX_FILE} = $index{$opt_o}; system("git-read-tree", $opt_o); -die "read-tree failed: $?\n" if $?; unless(-d $git_dir) { system("git-init-db");