# HG changeset patch # User Pierre-Yves David # Date 1315483994 -7200 # Node ID b73b3e3c9560f448d9d56d99723b461cdc46c79f # Parent 3b0364fc822f69072c154dd852f804d02fc5c690 Don't overwrite non local repo. diff -r 3b0364fc822f -r b73b3e3c9560 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