git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Antony Stubbs <antony.stubbs@gmail.com>
To: git@vger.kernel.org
Subject: cvs import and internal plumbing commands
Date: Sun, 5 Jul 2009 14:43:01 +1200	[thread overview]
Message-ID: <B9FEA72A-882C-4CF9-97A3-A353F282ACBB@gmail.com> (raw)

I've got a new install from mac-ports and am having trouble with cvs  
import not finding the plumbing commands.

It seems that cvsimport still uses all the old style git-hash-object  
type commands, instead of the new " git hash-object" command style.  
And on my system, I don't have any of the old style commands.

I'm working on patching cvsimport to the new style, but would  
appreicate anyone pointing out anything I'm missing...

If i am indeed correct, then a little help with this would be great  
(I'm not a perl programmer):

diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index e439202..de40933 100755
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
@@ -920,7 +920,7 @@ while (<CVS>) {
                         my $pid = open(my $F, '-|');
                         die $! unless defined $pid;
                         if (!$pid) {
-                           exec("git-hash-object", "-w", $tmpname)
+                           exec("git", "hash-object -w", $tmpname)
                                 or die "Cannot create object: $!\n";
                         }
                         my $sha = <$F>;

git: 'hash-object -w' is not a git-command. See 'git --help'.

Regards,
Antony Stubbs

Talk to me about Wicket, Spring, Maven consulting, small scale  
outsourcing to Australasia and India and Open Source development!

Website: http://sharca.com
Blog: http://stubbisms.wordpress.com
Linked In: http://www.linkedin.com/in/antonystubbs
Podcast: http://www.illegalargument.com

             reply	other threads:[~2009-07-05  2:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05  2:43 Antony Stubbs [this message]
2009-07-05  6:28 ` cvs import and internal plumbing commands Antony Stubbs
2009-07-06 12:15   ` [PATCH 1/1] " astubbs
2009-07-16 10:01 ` Jeff King
2009-07-17 21:44   ` Antony Stubbs
2009-07-17 21:45     ` Jeff King
2009-07-17 21:59       ` Antony Stubbs
2009-07-19 23:57         ` [PATCH] " Antony Stubbs
2009-07-20  2:43       ` Junio C Hamano
2009-07-20 15:34         ` Jeff King
2009-07-21 23:24           ` Antony Stubbs
2009-07-22  0:43             ` Junio C Hamano
2009-07-22  2:59               ` Jeff King
2009-07-22  3:06                 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B9FEA72A-882C-4CF9-97A3-A353F282ACBB@gmail.com \
    --to=antony.stubbs@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).