Open jakobkroeker opened 8 years ago
same in describe_branch:
change to SAGE_ROOT first:
sdir = os.environ.get('SAGE_ROOT') if (sdir != None): os.chdir(sdir) res = subprocess.check_output(['git', 'describe', '--tags', '--match', '[0-9].[0-9]*', branch], universal_newlines=True)
same in describe_branch:
change to SAGE_ROOT first: