Show More
@@ -579,7 +579,7 b' def importfromfiles(repo, opts, paths, f' | |||||
579 | # part of the active rules. |
|
579 | # part of the active rules. | |
580 | changed = False |
|
580 | changed = False | |
581 | for p in paths: |
|
581 | for p in paths: | |
582 | with util.posixfile(util.expandpath(p)) as fh: |
|
582 | with util.posixfile(util.expandpath(p), mode='rb') as fh: | |
583 | raw = fh.read() |
|
583 | raw = fh.read() | |
584 |
|
584 | |||
585 | iincludes, iexcludes, iprofiles = parseconfig(repo.ui, raw) |
|
585 | iincludes, iexcludes, iprofiles = parseconfig(repo.ui, raw) |
General Comments 0
You need to be logged in to leave comments.
Login now