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