[issue18152] Idle: add 2.7 backport script

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue18152] Idle: add 2.7 backport script

2013-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not sure what you mean by 'rollback'. My experience and understanding is that once I start a merge, I must finish it somehow before doing anything else. Do you mean revert a particular problematic file (like NEWS), and hand edit? Another backport item. te

[issue18152] Idle: add 2.7 backport script

2013-06-08 Thread Ezio Melotti
Ezio Melotti added the comment: > 'Import' is as easy to use as Graft and as far as I know, the result > when successful is the same. I use import while importing patches from the tracker, but once I committed on 2.x it's easier to just graft instead of importing again (importing often requir

[issue18152] Idle: add 2.7 backport script

2013-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ezio: yes. Once I have written a working-directory diff to a file for upload (non-trivial on Windows), 'Import' is as easy to use as Graft and as far as I know, the result when successful is the same. I know I 'should' learn to use kdiff3 effectively, but it s

[issue18152] Idle: add 2.7 backport script

2013-06-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg190722 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18152] Idle: add 2.7 backport script

2013-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please regenerate your patches without --git for review. Rietveld doesn't like git-style patches. -- nosy: +serhiy.storchaka ___ Python tracker _

[issue18152] Idle: add 2.7 backport script

2013-06-06 Thread Ezio Melotti
Ezio Melotti added the comment: Are you planning to use this on the patches instead of using "hg graft"? These things should be easy to fix during the 3-way merge, so I'm not sure if it's worth adding a specific script. If you think it's necessary, consider making it a mercurial extension that

[issue18152] Idle: add 2.7 backport script

2013-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy: Backporting Idle patches from 3.x to 2.7 would be easier with a canned edit script. Below are the substitutions I can think of immediately. Do any of you know of others? Easy (str.replace): tkinter -> Tkinter import tkinter.messagebox as tkMessageBox -> impo