equal
deleted
inserted
replaced
921 gooda = not nulla and util.lexists(afile) |
921 gooda = not nulla and util.lexists(afile) |
922 bbase, bfile = pathstrip(bfile_orig, strip) |
922 bbase, bfile = pathstrip(bfile_orig, strip) |
923 if afile == bfile: |
923 if afile == bfile: |
924 goodb = gooda |
924 goodb = gooda |
925 else: |
925 else: |
926 goodb = not nullb and os.path.exists(bfile) |
926 goodb = not nullb and os.path.lexists(bfile) |
927 createfunc = hunk.createfile |
927 createfunc = hunk.createfile |
928 missing = not goodb and not gooda and not createfunc() |
928 missing = not goodb and not gooda and not createfunc() |
929 |
929 |
930 # some diff programs apparently produce create patches where the |
930 # some diff programs apparently produce create patches where the |
931 # afile is not /dev/null, but afile starts with bfile |
931 # afile is not /dev/null, but afile starts with bfile |