Skip to content

Commit 11fa1e3

Browse files
committed
Bug 1435183 - Fix how files are passed to hg annotate
1 parent d308f1f commit 11fa1e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/migrate/blame.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def __init__(self, client):
1515

1616
def attribution(self, file_paths):
1717
args = cmdbuilder(
18-
b('annotate'), template='json', date=True, user=True,
19-
cwd=self.client.root(), file=map(b, file_paths))
18+
b('annotate'), *map(b, file_paths), template='json',
19+
date=True, user=True, cwd=self.client.root())
2020
blame_json = ''.join(self.client.rawcommand(args))
2121
file_blames = json.loads(blame_json)
2222

0 commit comments

Comments
 (0)