Unfortunately, this is not advice that anyone in any online forum can give you. The chances of survival and
recovery are dictated by many factors, including age, other medical issues (apart from diabetes), and overall physical condition. You should have a frank discussion with the physician/surgeon about the risks of this surgery.
Also, depending on what, exactly, is causing the leg to remain darkened, there may be no other option.