# HG changeset patch # User tksoh@users.sf.net # Node ID 3b2d8c574c2a7d41a4aa5753e7055c1e05ada2fd # Parent 8b8f710bb65875d588044c3615cf42180aee23ff Fixed --repository option when handling relative path When specifying relative path to --repository option, 'log' and 'diff' were unable to find the files specified. Here's the fix. diff -r 8b8f710bb658 -r 3b2d8c574c2a mercurial/hg.py --- a/mercurial/hg.py Wed Jul 6 02:23:56 2005 +++ b/mercurial/hg.py Thu Jul 7 07:47:15 2005 @@ -376,7 +376,7 @@ if not create and not os.path.isdir(self.path): raise RepoError("repository %s not found" % self.path) - self.root = path + self.root = os.path.abspath(path) self.ui = ui if create: