mercurial/localrepo.py
changeset 4556 30bc57094bfc
parent 4555 1843d31bfdbf
child 4559 eda59019dc69
child 4575 d092e962c4f8
--- a/mercurial/localrepo.py	Mon Jun 11 21:09:24 2007 -0500
+++ b/mercurial/localrepo.py	Mon Jun 11 21:09:24 2007 -0500
@@ -12,15 +12,6 @@
 import re, lock, transaction, tempfile, stat, mdiff, errno, ui
 import os, revlog, time, util
 
-def findrepo():
-    p = os.getcwd()
-    while not os.path.isdir(os.path.join(p, ".hg")):
-        oldp, p = p, os.path.dirname(p)
-        if p == oldp:
-            return None
-
-    return p
-
 class localrepository(repo.repository):
     capabilities = ('lookup', 'changegroupsubset')
     supported = ('revlogv1', 'store')