Results 1 to 4 of 4

Thread: git cvsimport using cvsps

  1. #1
    Join Date
    Dec 2008
    Location
    Norway
    Posts
    550

    Default git cvsimport using cvsps

    Trying to use git-cvsimport, but it is in conflict with the cvsps.

    Running Opensuse 12.3
    git version 1.8.1.4
    cvsps version 3.8
    cvs version 1.12.12

    The orignal cvs project is under /home/username/workspace/myApp. I'm trying to convert it over to git under /home/username/workspace2/myApp. Chose different location because I wanted to test the convertion/cvsimport first.

    First exporting cvsroot
    Code:
    username@machine:~/workspace/myApp> export CVSROOT=:pserver:username@cvs.company.com:/cvs/cvs5
    Code:
    username@machine:~/workspace/myApp> git cvsimport -d $CVSROOT -C /home/username/workspace2/myApp -r cvs -k myApp
    Initialized empty Git repository in /home/username/workspace2/myApp/.git/
    
    bad usage: invalid argument --norc
    Code:
    username@machine:~/workspace/myApp> git cvsimport -C /home/username/workspace2/ myApp
    Initialized empty Git repository in /home/username/workspace2/.git/
    
    bad usage: invalid argument --norc
    Checking the manual pages for cvsps the argument --norc does not exist.
    Trying to check online for cvsps cvsps(1): create patchset info from CVS - Linux man page
    --norc
    when invoking cvs, ignore the .cvsrc file

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,399

    Default Re: git cvsimport using cvsps

    I do noty know anything about cvsps, nor do I see your real question.

    But it seems to me that you use an option for a command where that command says it does not understand it. And where teh man page on the sytem confirms this.

    Then you found another man page on the internet which has that option.

    My conclusion: different versions op the tool. Try to compare them.
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,495
    Blog Entries
    2

    Default Re: git cvsimport using cvsps

    Am <guessing>
    That a cvsrc file is missing from your current cvs, so the --norc is automatically invoked.

    Maybe create a cvsrc file, even if it's empty?

    TSU

  4. #4
    Join Date
    Dec 2008
    Location
    Norway
    Posts
    550

    Default Re: git cvsimport using cvsps

    Back from the holidays. Unable to respond before now.


    Quote Originally Posted by hcvv View Post
    I do noty know anything about cvsps, nor do I see your real question.

    But it seems to me that you use an option for a command where that command says it does not understand it. And where teh man page on the sytem confirms this.

    Then you found another man page on the internet which has that option.

    My conclusion: different versions op the tool. Try to compare them.
    Well the question was implied. Anyway. Seems git cvsimport is calling cvsps with an illegal parameter. I do not control how git-cvsimport call cvsps.
    Wonder if this could be solved by using a different version of cvsps. I'm not sure which version of cvsps that git-cvsimport requires. If git-cvsimport requires a different version of cvsps this should be provided with opensuse instead.
    Or is there any options I can supply to git-cvsimport to avoid this problem?


    Quote Originally Posted by tsu2 View Post
    Am <guessing>
    That a cvsrc file is missing from your current cvs, so the --norc is automatically invoked.

    Maybe create a cvsrc file, even if it's empty?

    TSU
    Tried adding an empty .cvsrc file. It did not have any effect.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •