http://bugzilla.novell.com/show_bug.cgi?id=537245 Summary: wdiff -P miscalculates its chunks Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: jw@novell.com ReportedBy: jw@novell.com QAContact: qa@suse.de CC: pgajdos@novell.com Found By: --- $ wdiff testfile1.py testfile2.py else: tempdir = '/tmp' if sys.platform[:3] == 'win': tempdir = os.getenv('TEMP') tmpdir = [-tempfile.mkdtemp(revision,-] {+tempfile.mkdtemp(str(revision),+} wc.name, dir = tempdir) os.chdir(tmpdir) init_package_dir(wc.apiurl, wc.prjname, wc.name, tmpdir, revision) cmp_pac = Package(tmpdir) $ wdiff -P testfile1.py testfile2.py should just print the same as there is no whitespace trickery between the files. But it claims a nonsense diff: tempdir [-=-] {+=+} os.getenv('TEMP') Use the attached testfiles to reproduce. Seen with version I probably messed up one of our patches while upgrading to version 0.5.93 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.