From 153bb06faebcfb9e884e6787799322792512d2a3 Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Thu, 17 Apr 2008 16:28:27 +0200 Subject: avoid not --- git-import-orig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git-import-orig b/git-import-orig index ad558549..5885b0b0 100755 --- a/git-import-orig +++ b/git-import-orig @@ -167,11 +167,11 @@ on howto create it otherwise use --upstream-branch to specify it. try: filter_msg = ["", " (filtering out %s)" % options.filters][len(options.filters) > 0] - if not is_empty: + if is_empty: + print "Initial import of '%s' %s..." % (archive, filter_msg) + else: print "Importing '%s' to branch '%s'%s..." % (archive, options.upstream_branch, filter_msg) gbpc.GitCheckoutBranch(options.upstream_branch)() - else: - print "Initial import of '%s' %s..." % (archive, filter_msg) import_upstream_tree(repo, orig_dir, version, options.filters, verbose=not is_empty) if options.pristine_tar: -- cgit v1.2.3