mercurial/statichttprepo.py
changeset 2673 109a22f5434a
parent 2072 74d3f5336b66
child 2740 386f04d6ecb3
--- a/mercurial/statichttprepo.py	Tue Jul 25 21:22:56 2006 +0200
+++ b/mercurial/statichttprepo.py	Tue Jul 25 13:50:32 2006 -0700
@@ -30,6 +30,7 @@
 
 class statichttprepository(localrepo.localrepository):
     def __init__(self, ui, path):
+        self._url = path
         self.path = (path + "/.hg")
         self.ui = ui
         self.revlogversion = 0
@@ -41,6 +42,9 @@
         self.encodepats = None
         self.decodepats = None
 
+    def url(self):
+        return 'static-' + self._url
+
     def dev(self):
         return -1