Show More
@@ -811,7 +811,7 b' class hgsubrepo(abstractsubrepo):' | |||
|
811 | 811 | with self._repo.lock(): |
|
812 | 812 | storehash = list(self._calcstorehash(remotepath)) |
|
813 | 813 | vfs = self._cachestorehashvfs |
|
814 | vfs.writelines(cachefile, storehash, mode='w', notindexed=True) | |
|
814 | vfs.writelines(cachefile, storehash, mode='wb', notindexed=True) | |
|
815 | 815 | |
|
816 | 816 | def _getctx(self): |
|
817 | 817 | '''fetch the context for this subrepo revision, possibly a workingctx |
@@ -841,7 +841,7 b' class hgsubrepo(abstractsubrepo):' | |||
|
841 | 841 | if defpath != defpushpath: |
|
842 | 842 | addpathconfig('default-push', defpushpath) |
|
843 | 843 | |
|
844 | fp = self._repo.vfs("hgrc", "w", text=True) | |
|
844 | fp = self._repo.vfs("hgrc", "wb", text=True) | |
|
845 | 845 | try: |
|
846 | 846 | fp.write(''.join(lines)) |
|
847 | 847 | finally: |
General Comments 0
You need to be logged in to leave comments.
Login now