equal
deleted
inserted
replaced
814 # without tampering with PATH. |
814 # without tampering with PATH. |
815 fsdecode = lambda x: x |
815 fsdecode = lambda x: x |
816 if sys.version_info[0] >= 3: |
816 if sys.version_info[0] >= 3: |
817 fsdecode = os.fsdecode |
817 fsdecode = os.fsdecode |
818 dest = os.path.join( |
818 dest = os.path.join( |
819 os.path.dirname(self.hgtarget), |
819 os.path.dirname(self.hgtarget), fsdecode(dllbasename), |
820 fsdecode(dllbasename), |
|
821 ) |
820 ) |
822 |
821 |
823 if not os.path.exists(dest): |
822 if not os.path.exists(dest): |
824 shutil.copy(buf.value, dest) |
823 shutil.copy(buf.value, dest) |
825 |
824 |