[#1662] Add the method resolve(int revision) for backward compatibility