cvsimport: perform string comparison on "HEAD"
authorSven Verdoolaege <skimo@liacs.nl>
Thu, 30 Jun 2005 15:23:22 +0000 (17:23 +0200)
committerMatthias Urlichs <smurf@kiste.(none)>
Thu, 30 Jun 2005 15:23:22 +0000 (17:23 +0200)
git-cvsimport-script

index 6ac31a71604a26a271175c052b94534809ea07f9..8e0e4ac4b2e4bd2f8da3ad4511e5f9af371f9e2b 100755 (executable)
@@ -529,7 +529,7 @@ while(<CVS>) {
        } elsif($state == 5 and s/^Ancestor branch:\s+//) {
                s/\s+$//;
                $ancestor = $_;
-               $ancestor = $opt_o if $ancestor == "HEAD";
+               $ancestor = $opt_o if $ancestor eq "HEAD";
                $state = 6;
        } elsif($state == 5) {
                $ancestor = undef;