Mercurial > hg-stable
changeset 933:9c43d68ad59f
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.
author | tksoh@users.sf.net |
---|---|
date | Wed, 17 Aug 2005 00:33:53 -0800 |
parents | fdf3b7f3b3b4 |
children | ff484cc157d6 |
files | mercurial/hg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: