diff options
-rw-r--r-- | git-remote-testgit.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-remote-testgit.py b/git-remote-testgit.py index b0c1e9b273..cdbc49495f 100644 --- a/git-remote-testgit.py +++ b/git-remote-testgit.py @@ -146,7 +146,9 @@ def do_export(repo, args): update_local_repo(repo) repo.importer.do_import(repo.gitdir) - repo.non_local.push(repo.gitdir) + + if not repo.local: + repo.non_local.push(repo.gitdir) COMMANDS = { |