git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cvs import and internal plumbing commands
@ 2009-07-05  2:43 Antony Stubbs
  2009-07-05  6:28 ` Antony Stubbs
  2009-07-16 10:01 ` Jeff King
  0 siblings, 2 replies; 14+ messages in thread
From: Antony Stubbs @ 2009-07-05  2:43 UTC (permalink / raw)
  To: git

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

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-07-22  3:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-05  2:43 cvs import and internal plumbing commands Antony Stubbs
2009-07-05  6:28 ` 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

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).