aboutsummaryrefslogtreecommitdiff
path: root/git-remote-testgit.py
diff options
context:
space:
mode:
Diffstat (limited to 'git-remote-testgit.py')
-rw-r--r--git-remote-testgit.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-remote-testgit.py b/git-remote-testgit.py
index b0c1e9b27..cdbc49495 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 = {