From: Matt McCutchen Date: Thu, 25 Oct 2007 04:01:53 GMT Subject: Re: [PATCH] git-cvsimport: Add -N option to force a new import Message-ID: <1193284913.2619.23.camel@mattlaptop2> In-Reply-To: <7vfxzz51d7.fsf@gitster.siamese.dyndns.org> On Wed, 2007-10-24 at 20:17 -0700, Junio C Hamano wrote: > Matt McCutchen 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. Matt