Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-remote-testgit: fix error handling
[gitweb.git]
/
git-remote-testgit.py
diff --git
a/git-remote-testgit.py
b/git-remote-testgit.py
index b0c1e9b273a2763300eba3431eb001aa9cd75263..cdbc49495f3ab51ffd411dd054963d79d161904a 100644
(file)
--- 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 = {