[devel] Q: Как правильно загрузить в git запароленный cvs?

Aleksey Avdeev =?iso-8859-1?q?solo_=CE=C1_solin=2Espb=2Eru?=
Чт Апр 17 00:58:27 MSD 2008


Aleksey Avdeev пишет:
> Aleksey Avdeev пишет:
>> Aleksey Avdeev пишет:
>>> Sergey Vlasov пишет:
>>>> On Thu, Apr 10, 2008 at 02:18:10PM +0400, Aleksey Avdeev wrote:
>>>>> $ git-cvsimport -d :pserver:anonymous на cvs.OpenLDAP.org:/repo/OpenLDAP openldap
>>>>> AuthReply: I HATE YOU
>>>> Пишите имя сервера в нижнем регистре:
>>>>
>>>>   :pserver:anonymous на cvs.openldap.org:/repo/OpenLDAP
>>>>
>>>> CVS переводит hostname в нижний регистр при сохранении в ~/.cvspass, а
>>>> git-cvsimport ищет там имя репозитория в том виде, как оно указано в
>>>> командной строке.
>>>   Спасибо. Так -- работает.
>>   Только странный репозитарий на выходе получается: коммиты с
>> комментариями есть, а самих файлов нет: В каталоге с репозитарием только
>> .git (при переключении на другой бранч -- тоже), и gitk их не показывает...
> 
>   При загрузке с параметром -v, очень много строк вида:
> 
> WARNING: file /repo/OpenLDAP/pkg/openldap-guide/admin/preface.sdf
> doesn't match strip_path /repo/OpenLDAP/pkg/ldap/build/openldap.. ignoring
> WARNING: file
> /repo/OpenLDAP/pkg/openldap-guide/admin/Attic/proxycache.sdf doesn't
> match strip_path /repo/OpenLDAP/pkg/ldap/build/openldap.. ignoring

  Разобрался: это ругань от cvsps, цитирую
<http://www.cobite.com/cvsps/README>:

1) What is the '*** file xyz doesn't match strip_path abc' error?

This error occurs when one of the subdirectories of the directory you
ran CVSps in is checked out from a different repository.  CVSps tries
to remove the repository path information from the filenames that it
gets to give you working-directory local pathnames.  It does this
at startup by parsing the CVS/Root and CVS/Repository files.  If
the contents of these two files is different for some subdirectory,
all of the files in that subdirectory will be ignored.

You can always run CVSps in that subdirectory, and since it IS a
separate repository, that does make a little bit of sense.

  В моём случаи вылечилось с помощью задания модуля ldap (а не
openldap). Грузил репозитарий так:

$ git-cvsimport -d :pserver:anonymous на cvs.openldap.org:/repo/OpenLDAP -p
x -m -a -i -k -v -C ldap ldap

-- 

С уважением. Алексей.


----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : signature.asc
Тип     : application/pgp-signature
Размер  : 544 байтов
Описание: OpenPGP digital signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20080417/3e40ca17/attachment-0002.bin>


Подробная информация о списке рассылки Devel