+ # 'clone' doesn't expect an already initialised GIT tree
+ if cmd == 'clone':
+ stgit.commands.common.crt_series = stack.Series('master')
+ elif hasattr(options, 'branch') and options.branch:
+ stgit.commands.common.crt_series = stack.Series(options.branch)
+ else:
+ stgit.commands.common.crt_series = stack.Series()
+ # the line below is a simple way to avoid an exception when