+ policy = config.get('branch.%s.stgit.pull-policy' % crt_series.get_branch()) or \
+ config.get('stgit.pull-policy')
+
+ if policy == 'rebase':
+ # parent is local
+ if len(args) == 1:
+ parser.error('specifying a repository is meaningless for policy="%s"' % policy)
+ if len(args) > 0:
+ parser.error('incorrect number of arguments')