use project passed from command line when no revision control project is found

This commit is contained in:
Alan Hamlett 2014-06-18 10:05:27 -07:00
parent f6e1eba0df
commit 35bd98ca6d

View file

@ -348,10 +348,10 @@ def main(argv=None):
project = find_project(args.targetFile, configs=configs)
branch = None
project_name = None
project_name = args.project_name
if project:
branch = project.branch()
project_name = args.project_name or project.name()
project_name = project.name()
if send_action(
project=project_name,