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>
This commit is contained in:
Clemens Buchacher 2009-09-17 09:21:02 +02:00 committed by Junio C Hamano
parent 8426f672fc
commit e481b1d8db

View File

@ -253,6 +253,7 @@ sub conn {
}
}
};
$pass = "A" unless $pass;
}
my ($s, $rep);