Fixed variable name in BZR and HG lib files.