diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-04-17 16:28:27 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-04-17 16:28:27 +0200 |
commit | 153bb06faebcfb9e884e6787799322792512d2a3 (patch) | |
tree | 920e0870b38214e48028c3e50ac9a797392d4d06 | |
parent | 035759317c9880b71dd64b19fe48a44a7d2e2f01 (diff) |
avoid not
-rwxr-xr-x | git-import-orig | 6 |
1 files 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: |