Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 1081:8b7d63489db3
Change canonpath to not know about repo objects
Code in util should not have any knowledge about repo objects
author | mpm@selenic.com |
---|---|
date | Fri, 26 Aug 2005 23:29:10 -0700 |
parents | 8f0ac653f85e |
children | 6f94688b81b6 |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Aug 27 08:22:10 2005 +0200 +++ b/mercurial/commands.py Fri Aug 26 23:29:10 2005 -0700 @@ -30,7 +30,7 @@ return args def matchpats(repo, cwd, pats=[], opts={}, head=''): - return util.matcher(repo, cwd, pats or ['.'], opts.get('include'), + return util.matcher(repo.root, cwd, pats or ['.'], opts.get('include'), opts.get('exclude'), head) def makewalk(repo, pats, opts, head=''):