Prefix branch names
This commit is contained in:
parent
d01c139026
commit
99c62ebfce
|
@ -49,9 +49,9 @@ def escape_tex(value):
|
|||
|
||||
def normalize_branch(args):
|
||||
if 'master' in args:
|
||||
return path.dirname(args.master).replace('/', '')
|
||||
return path.join('xelatex', path.dirname(args.master).replace('/', ''))
|
||||
elif 'directory' in args:
|
||||
return args.directory.replace('/', '')
|
||||
return path.join('xelatex', args.directory.replace('/', ''))
|
||||
else:
|
||||
raise Exception('No sufficient information to create branch')
|
||||
|
||||
|
@ -109,6 +109,8 @@ def git_integration(func):
|
|||
'comment',
|
||||
tree,
|
||||
parents)
|
||||
|
||||
|
||||
return inner
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue