mercurial/hg.py
changeset 514 874e577e332e
parent 511 9f67222186bd
child 515 03f27b1381f9
--- a/mercurial/hg.py	Tue Jun 28 10:50:13 2005 -0800
+++ b/mercurial/hg.py	Tue Jun 28 11:06:25 2005 -0800
@@ -918,7 +918,7 @@
                 raise RepoError("already have changeset " + short(f[:4]))
 
         if fetch == [nullid]:
-            raise RepoError("unrelated repository")
+            self.ui.warn("warning: pulling from an unrelated repository!\n")
 
         self.ui.note("adding new changesets starting at " +
                      " ".join([short(f) for f in fetch]) + "\n")