cvs: initialize empty password
If we do not read a password from the command line, and there are no passwords stored in .cvspass, we have to initialize the password with just "A". This fixes a regression introduced by 3fb9d582 (Do not scramble password read from .cvspass). Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Clemens Buchacher committed
Sep 17, 2009 at 09:21 UTC
e481b1d8db9947681a5c124545ef06951f42155d
1 file changed
+1
git-cvsimport.perl
+1
@@ -253,6 +253,7 @@ sub conn {
253
}
254
}
255
};
256
+ $pass = "A" unless $pass;
257
}
258
259
my ($s, $rep);