Changeset: c846e4fb2844 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c846e4fb2844
Modified Files:
        testing/Mtest.py.in
Branch: Oct2014
Log Message:

Ignore a common suffix for backup files when trying to patch.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -1391,7 +1391,7 @@ def ApproveOutput (env, TST) :
                 list = []
                 if not NOPATCH:
                     for f in os.listdir(dir or os.curdir):
-                        if f.endswith('.rej') or f.endswith('.orig'):
+                        if f.endswith('.rej') or f.endswith('.orig') or 
f.endswith('~'):
                             pass
                         elif f != thefile and test.match(f):
                             remove(os.path.join(dir or os.curdir, f + '.rej'))
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to