Don't overwrite non local repo.
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 08 Sep 2011 14:13:14 +0200
changeset 47 b73b3e3c9560
parent 46 3b0364fc822f
child 48 5fd7b64aa8c5
Don't overwrite non local repo.
obsolete.py
--- a/obsolete.py	Thu Sep 08 16:46:58 2011 +0200
+++ b/obsolete.py	Thu Sep 08 14:13:14 2011 +0200
@@ -114,6 +114,9 @@
 
 def reposetup(ui, repo):
 
+    if not repo.local():
+        return
+
     opull = repo.pull
     opush = repo.push