Mercurial > hg
changeset 11820:75de514a50f3
patch: fix typo in comment
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Thu, 12 Aug 2010 17:58:03 +0200 |
parents | 1c00577b0298 |
children | 15aa42aaae4c |
files | mercurial/patch.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/patch.py Thu Aug 05 12:25:53 2010 +0200 +++ b/mercurial/patch.py Thu Aug 12 17:58:03 2010 +0200 @@ -927,8 +927,8 @@ createfunc = hunk.createfile missing = not goodb and not gooda and not createfunc() - # some diff programs apparently produce create patches where the - # afile is not /dev/null, but afile starts with bfile + # some diff programs apparently produce patches where the afile is + # not /dev/null, but afile starts with bfile abasedir = afile[:afile.rfind('/') + 1] bbasedir = bfile[:bfile.rfind('/') + 1] if missing and abasedir == bbasedir and afile.startswith(bfile):