Show More
@@ -71,8 +71,10 b' def make_file(repo, pat, node=None,' | |||
|
71 | 71 | def matchpats(repo, pats=[], opts={}, head=''): |
|
72 | 72 | cwd = repo.getcwd() |
|
73 | 73 | if not pats and cwd: |
|
74 |
opts['include'] = [os.path.join(cwd, i) |
|
|
75 | opts['exclude'] = [os.path.join(cwd, x) for x in opts['exclude']] | |
|
74 | opts['include'] = [os.path.join(cwd, i) | |
|
75 | for i in opts.get('include', [])] | |
|
76 | opts['exclude'] = [os.path.join(cwd, x) | |
|
77 | for x in opts.get('exclude', [])] | |
|
76 | 78 | cwd = '' |
|
77 | 79 | return util.cmdmatcher(repo.root, cwd, pats or ['.'], opts.get('include'), |
|
78 | 80 | opts.get('exclude'), head) |
General Comments 0
You need to be logged in to leave comments.
Login now