From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Matt McCutchen <matt@mattmccutchen.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] git-cvsimport: Add -N option to force a new import
Date: Thu, 25 Oct 2007 10:56:36 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0710251055590.25221@racer.site> (raw)
In-Reply-To: <1193284913.2619.23.camel@mattlaptop2>
Hi,
On Thu, 25 Oct 2007, Matt McCutchen wrote:
> On Wed, 2007-10-24 at 20:17 -0700, Junio C Hamano wrote:
> > Matt McCutchen <matt@mattmccutchen.net> writes:
> >
> > > I had a git repository for development of rsync and wanted to start
> > > importing the upstream CVS with git-cvsimport, but git-cvsimport saw
> > > that the git repository existed and insisted on updating a previous
> > > import. This patch adds an -N option to git-cvsimport to force a new
> > > import and updates the documentation appropriately.
> >
> > Sounds like a useful addition. Tests?
>
> Are there existing tests for git-cvsimport somewhere whose example I
> could follow? (I didn't see any in t/ .) If not, I suppose I will just
> write a simple script that runs git-cvsimport with and without -N and
> with and without an existing, empty git repository and checks that the
> right things happen.
My best bet: t/t9200-cvsexportcommit.sh
Hth,
Dscho
next prev parent reply other threads:[~2007-10-25 9:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 23:28 [PATCH] git-cvsimport: Add -N option to force a new import Matt McCutchen
2007-10-25 3:17 ` Junio C Hamano
2007-10-25 4:01 ` Matt McCutchen
2007-10-25 9:56 ` Johannes Schindelin [this message]
2007-10-25 19:45 ` Robin Rosenberg
2007-11-06 3:36 ` Matt McCutchen
2007-11-06 21:35 ` Piet Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0710251055590.25221@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=matt@mattmccutchen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).