Minor tweak to binary mode patch
authormpm@selenic.com
Tue, 21 Jun 2005 19:28:53 -0800
changeset 418 0446f698d38e
parent 417 f2d1f5fd0179
child 419 28511fc21073
Minor tweak to binary mode patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Minor tweak to binary mode patch manifest hash: 4fce0b7b405b124e035526d4a458e888d9bd82ef -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuNr1ywK+sNU5EO8RAs83AJ9i+yafrjWWjWm1lTwCr0fO8cAU+gCghmxg +S1W1KuMzgxJAtuhq6h6uBk= =9JhP -----END PGP SIGNATURE-----
mercurial/hg.py
--- a/mercurial/hg.py	Tue Jun 21 19:25:05 2005 -0800
+++ b/mercurial/hg.py	Tue Jun 21 19:28:53 2005 -0800
@@ -569,7 +569,7 @@
             try:
                 fp = self.wjoin(f)
                 mf1[f] = is_exec(fp)
-                t = self.wopener(f).read()
+                t = self.wfile(f).read()
             except IOError:
                 self.warn("trouble committing %s!\n" % f)
                 raise