Mercurial > hg-stable
diff mercurial/patch.py @ 8761:0289f384e1e5
Generally replace "file name" with "filename" in help and comments.
author | timeless <timeless@gmail.com> |
---|---|
date | Tue, 09 Jun 2009 09:25:17 -0400 |
parents | 9e055cfdd620 |
children | c5f36402daad |
line wrap: on
line diff
--- a/mercurial/patch.py Tue Jun 09 09:25:31 2009 -0400 +++ b/mercurial/patch.py Tue Jun 09 09:25:17 2009 -0400 @@ -1350,7 +1350,7 @@ if line.startswith('diff --git'): filename = gitre.search(line).group(1) else: - # format: "diff -r ... -r ... file name" + # format: "diff -r ... -r ... filename" filename = line.split(None, 5)[-1] elif line.startswith('+') and not line.startswith('+++'): adds += 1