From: Alexey Nezhdanov Date: Fri, 30 Sep 2005 10:22:14 GMT Subject: Re: [PATCH] Added an option to cvsimport to specify email domain Message-ID: <200509301422.14677.snake@penza-gsm.ru> In-Reply-To: <7v64sj6iva.fsf@assigned-by-dhcp.cox.net> On Friday 30, September 2005 12:48 Junio C Hamano wrote: > Alexey Nezhdanov writes: > > Unfortunately I do not know perl so I can not write a patch for > > git-cvsimport-script. So I asking you, Matthias, to help with this or may > > somebody on this list can do it instead. > > Untested, but something like this? Yes, now it works correctly and can go down to master IMHO. One little notice, though. It is still prints out "* UNKNOWN LINE *" for each authorname in the new format. This is not result of your patch - it started doing this immidiatedly after I tried updated version of cvsps (I have not mentioned this in my previous mail, sorry). Let's wait if somebody will fix it. In any way, ANNOUNCE: ========= With my patch to cvsps and Junio's patch to git-cvsimport.perl it is now possible to import authorname+email pairs correctly basing on contents of CVSROOT/users file. Currently cvsps can't retrieve this file in --cvs-direct mode (that git-cvsimport.perl uses) so you'll need to check it out by hand. May be if David will find some time for it this limitation will be lifted. So now you can do either: cvs checkout CVSROOT/users or mkdir CVSROOT && echo "author:A U Thor " >CVSROOT/users and then git cvsimport -p "--users-file,CVSROOT/users" you will import all mapped usernames correctly. -- Respectfully Alexey Nezhdanov