From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
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 21:45:39 +0200 [thread overview]
Message-ID: <200710252145.40559.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <1193284913.2619.23.camel@mattlaptop2>
torsdag 25 oktober 2007 skrev Matt McCutchen:
> 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.
None, but there should be. I also think cvsps should be included in the git
repo since it is required and AFAIK, only git people maintain it.
Now I don't use cvsimport to import my CVS repos, so I'll pass on adding test
cases. It is a non-trivial task
I did it for cvsexportcommit which didn't have any tests when I started
hacking it.
-- robin
next prev parent reply other threads:[~2007-10-25 19:44 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
2007-10-25 19:45 ` Robin Rosenberg [this message]
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=200710252145.40559.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.