RE: Problems with git cvsimport

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Sorry to have missed that earlier. AFAIR cvsimport _needs_ 
> cvsps 2.1. You 
> have version 2.0rc1, which is not sufficient...

OK, thanks a lot, now that I'm using cvsps especially for git from
http://ydirson.free.fr/en/software/scm/cvsps.html things are looking
a bit better.

There are some modules I can import with relative little noise. Not sure why
I needed to do 'checkout -f' to get all the files in the working directory,
but I got no problem with that.

For some other modules it doesn't work at all.
I.e. trying

$ git cvsimport -d :pserver:ray007@xxxxxxxxxxxxxx:/cvs/drupal-contrib -C
localizer -a contributions/modules/localizer
Initialized empty Git repository in /home/ray/drupal/modules/localizer/.git/
file 'CHANGELOG.txt; pre_rev:INITIAL; post_rev:1.1; dead:0; branch_point:0
' not found in hash
fatal: refs/heads/origin: not a valid SHA1
fatal: master: not a valid SHA1
warning: You appear to be on a branch yet to be born.
warning: Forcing checkout of HEAD.
fatal: just how do you expect me to merge 0 trees?
checkout failed: 256

Any hint what I have done wrong?

Doing a normal cvs checkout works, trying to do a git-cvsimport in the
checked-out directory fails with the same error again.

For trying out, username=anonymous, password=anonymous should work.
Or to just see what's in the repo, you can have a look at
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/localizer/
to see the repo I tried in the example above.

My perl knowledge is _very_ limited, but I'll have a look at the script too
...

-- 
best regards

  Ray

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]