Change environment based on detection of .revision file