[PATCH 1 of 8] diff: Move b85diff to mdiff module

bisho (Guillermo) bisho at fb.com
Wed Nov 14 14:12:51 CST 2012


[Š]
>>diff --git a/mercurial/patch.py b/mercurial/patch.py
>> --- a/mercurial/patch.py
>> +++ b/mercurial/patch.py
>> @@ -10,7 +10,7 @@
>> import tempfile, zlib, shutil
>> 
>> from i18n import _
>> -from node import hex, nullid, short
>> +from node import hex, short
>> import base85, mdiff, scmutil, util, diffhelpers, copies, encoding,
>>error
>
>Is base85 still needed here after moving the function out?

Yes, there Is a call to base85.b85decode in other part of path.py code
(should be probably moved too, but not as part of this eerie of patches)

--
bisho at fb.com



More information about the Mercurial-devel mailing list