# HG changeset patch # User Augie Fackler <raf@durin42.com> # Date 1336811599 18000 # Sat May 12 03:33:19 2012 -0500 # Node ID dfb2b7b5d586e584280c6640652dc939b4b9120a # Parent e688147a4936f04788a86a8f2c8f9d2e5ee20659 gitrepo: add url() attribute to fix subrepo support diff --git a/hggit/gitrepo.py b/hggit/gitrepo.py --- a/hggit/gitrepo.py +++ b/hggit/gitrepo.py @@ -15,6 +15,9 @@ self.ui = ui self.path = path + def url(self): + return self.path + def lookup(self, key): if isinstance(key, str): return key