Mercurial > public > mercurial-scm > hg-stable
diff mercurial/mdiff.py @ 15437:8f08b635cdce
diff: always use / in paths in diff
Subrepo diffs would sometimes use backslash on windows.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 Nov 2011 02:49:00 +0100 |
parents | 16dc9a32ca04 |
children | f520c9616db5 |
line wrap: on
line diff
--- a/mercurial/mdiff.py Mon Nov 07 02:49:00 2011 +0100 +++ b/mercurial/mdiff.py Mon Nov 07 02:49:00 2011 +0100 @@ -100,6 +100,9 @@ return "" epoch = util.datestr((0, 0)) + fn1 = util.pconvert(fn1) + fn2 = util.pconvert(fn2) + if not opts.text and (util.binary(a) or util.binary(b)): if a and b and len(a) == len(b) and a == b: return ""