# HG changeset patch # User tksoh@users.sf.net # Date 1124267633 28800 # Node ID 9c43d68ad59f040395c9d188e0fb7080cfc60b74 # Parent fdf3b7f3b3b42dcd669220dcc091b99bf9b7cefc 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 fdf3b7f3b3b4 -r 9c43d68ad59f mercurial/hg.py --- a/mercurial/hg.py Tue Aug 16 23:49:53 2005 -0800 +++ b/mercurial/hg.py Wed Aug 17 00:33:53 2005 -0800 @@ -634,7 +634,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: