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 6ac31a7..8e0e4ac 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;