[Python-Dev] [Python-checkins] cpython (merge 2.7 -> 2.7): Clean merge (original) (raw)

Ezio Melotti ezio.melotti at gmail.com
Mon Aug 12 23:42:25 CEST 2013


Hi,

On Mon, Aug 12, 2013 at 10:51 PM, david.wolever <python-checkins at python.org> wrote:

http://hg.python.org/cpython/rev/0f4d971b0cee changeset: 85138:0f4d971b0cee branch: 2.7 parent: 85137:102b3e257dca parent: 83899:ef037ad304c1 user: David Wolever <david at wolever.net> date: Thu May 23 17:51:58 2013 -0400 summary: Clean merge

files: .hgtags | 1 + Doc/c-api/exceptions.rst | 38 +- Doc/c-api/intro.rst | 4 +- Doc/faq/design.rst | 4 +- Doc/faq/programming.rst | 86 + Doc/glossary.rst | 8 + Doc/howto/advocacy.rst | 355 ------- Doc/howto/index.rst | 1 - Doc/howto/sockets.rst | 8 +- Doc/howto/urllib2.rst | 12 +- Doc/library/codecs.rst | 172 ++- Doc/library/collections.rst | 4 +- Doc/library/compileall.rst | 2 +- Doc/library/ctypes.rst | 2 +- Doc/library/io.rst | 3 + Doc/library/itertools.rst | 4 +- Doc/library/numbers.rst | 8 +- Doc/library/operator.rst | 47 +- Doc/library/resource.rst | 21 +- Doc/library/socket.rst | 16 +- Doc/library/ssl.rst | 16 +- Doc/library/stdtypes.rst | 28 +- Doc/library/string.rst | 5 +- Doc/library/unittest.rst | 2 + Doc/library/urllib.rst | 7 + Doc/library/urllib2.rst | 15 +- Doc/reference/datamodel.rst | 9 +- Doc/reference/expressions.rst | 15 +- Doc/reference/simplestmts.rst | 3 + Doc/tutorial/inputoutput.rst | 23 +- Doc/tutorial/modules.rst | 7 +- Doc/using/mac.rst | 14 +- Include/object.h | 16 +- Include/patchlevel.h | 4 +- Lib/weakrefset.py | 6 + Lib/collections.py | 2 - Lib/ctypes/test/init.py | 2 +- Lib/ctypes/test/testwintypes.py | 43 + Lib/ctypes/util.py | 2 +- Lib/distutils/init.py | 2 +- Lib/filecmp.py | 2 +- Lib/gzip.py | 69 +- Lib/idlelib/Bindings.py | 4 + Lib/idlelib/EditorWindow.py | 31 +- Lib/idlelib/PyShell.py | 1 - Lib/idlelib/help.txt | 3 +- Lib/idlelib/idlever.py | 2 +- Lib/idlelib/run.py | 5 + Lib/logging/handlers.py | 36 +- Lib/mimetypes.py | 2 + Lib/multiprocessing/pool.py | 2 + Lib/multiprocessing/synchronize.py | 2 +- Lib/multiprocessing/util.py | 5 +- Lib/pickle.py | 2 +- Lib/plistlib.py | 4 +- Lib/pydocdata/topics.py | 18 +- Lib/sreparse.py | 6 +- Lib/ssl.py | 26 +- Lib/tarfile.py | 12 +- Lib/test/pickletester.py | 2 + Lib/test/testbase64.py | 26 + Lib/test/testbz2.py | 31 +- Lib/test/testcollections.py | 2 +- Lib/test/testdictviews.py | 5 + Lib/test/testgdb.py | 46 +- Lib/test/testgzip.py | 17 - Lib/test/testio.py | 4 +- Lib/test/testmimetypes.py | 2 + Lib/test/testmultiprocessing.py | 32 +- Lib/test/testplistlib.py | 12 + Lib/test/testpydoc.py | 57 +- Lib/test/testre.py | 11 + Lib/test/testsax.py | 20 + Lib/test/testsupport.py | 9 + Lib/test/testtarfile.py | 8 + Lib/test/testtcl.py | 18 +- Lib/test/testweakset.py | 6 + Lib/test/testwinreg.py | 12 +- Lib/test/testzipfile.py | 10 +- Lib/test/testbz2bigmem.bz2 | Bin Lib/threading.py | 42 +- Lib/xml/sax/saxutils.py | 8 +- Misc/ACKS | 9 + Misc/NEWS | 457 ++++++--- Misc/RPM/python-2.7.spec | 2 +- Modules/ctypes/libffi/src/dlmalloc.c | 5 + Modules/multiprocessing/multiprocessing.c | 2 +- Modules/sqlite/cursor.c | 2 +- Modules/sqlite/util.c | 8 +- Modules/sqlite/util.h | 4 +- Modules/testcapimodule.c | 2 +- Modules/cPickle.c | 10 +- Modules/dbmmodule.c | 8 +- Modules/operator.c | 14 +- Modules/readline.c | 27 +- Modules/selectmodule.c | 35 +- Modules/signalmodule.c | 14 +- Modules/sre.h | 4 +- Objects/dictobject.c | 4 + PCbuild/rt.bat | 4 +- README | 2 +- Tools/scripts/gprof2html.py | 2 +- configure | 2 +- configure.ac | 2 +- setup.py | 8 +- 105 files changed, 1301 insertions(+), 955 deletions(-)

To avoid these big merges you can do:

check the two heads that you are going to merge and their csids

hg heads .

update to the other head (the one you pulled, not the one you committed)

hg up csid-of-the-other-head

merge your changes on with the ones you pulled

hg merge

This will merge the changes you just committed with the ones you pulled, and result in a shorter diff that is easier to read/review/merge. Otherwise pulling and updating before committing will avoid the problem entirely (unless you end up in a push-race).

Best Regards, Ezio Melotti



More information about the Python-Dev mailing list