On Sun, 6 Mar 2011 17:32:40 +0100 (CET) martin.v.loewis <python-check...@python.org> wrote: > > -def find_bases(data, rev): > +def hg_splitpatch(data): > + patches = [] > + filename = None > + for line in data.splitlines(True): > + if line.startswith('diff -r'):
Now I understand why you would like to discourage git diffs. But, as I said back then, I don't think it's worthwhile to try and compute the base rev. Most reviewable patches should apply cleanly against the latest revision on "default", otherwise we're gonna ask the poster to regenerate the patch anyway. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com