contrib/win32/postinstall.txt
author Martijn Pieters <mjpieters@fb.com>
Sun, 09 Oct 2016 14:10:01 +0200
changeset 30118 c19266edd93e
parent 26421 4b0fc75f9403
permissions -rw-r--r--
py3: a second argument to open can't be bytes This fixes open(filename, 'r'), open(filename, 'w'), etc. calls. In Python 3, that second argument *must* be a string, you can't use bytes. The fix is the same as used with getattr() (where the second argument must also always be a string); in the tokenizer, where we detect calls, if there is something that looks like a call to open (and is not an attribute, so the previous token is not a "." dot) then make sure that that second argument is not converted to a `bytes` object instead. There is some remaining issue where the current transformer will also rewrite open(f('foo')). However this also affect function for which we perform similar rewrite ('getattr', 'setattr', 'hasattr', 'safehasattr') and will be dealt with in a follow up.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1289
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     1
Welcome to Mercurial for Windows!
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     2
---------------------------------
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     3
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     4
For configuration and usage directions, please read the ReadMe.html
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     5
file that comes with this package.
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     6
3863
1ef8ada4370f Remove hard-coded version numbers and release notes from packaging
Matt Mackall <mpm@selenic.com>
parents: 2681
diff changeset
     7
Also check the release notes at:
2276
766c3c852786 Update Windows release notes and install script for v0.9
Lee Cantey <lcantey@gmail.com>
parents: 2216
diff changeset
     8
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 8936
diff changeset
     9
 https://mercurial-scm.org/wiki/WhatsNew