site

(Pierre-Yves David)
2011-09-08: Don't overwrite non local repo.

Don't overwrite non local repo.

diff --git a/obsolete.py b/obsolete.py
--- a/obsolete.py
+++ b/obsolete.py
@@ -114,6 +114,9 @@ cmdtable = {'debugobsolete': (cmddebugob
 
 def reposetup(ui, repo):
 
+    if not repo.local():
+        return
+
     opull = repo.pull
     opush = repo.push