[RFC] kbfiles: an extension to track binary files with less wasted bandwidth

Na'Tosha Bard natosha at unity3d.com
Fri Sep 23 10:47:16 CDT 2011


2011/9/23 Na'Tosha Bard <natosha at unity3d.com>

> Hello,
>
> 2011/9/22 Martin Geisler <mg at lazybytes.net>
>
>> "Na'Tosha Bard" <natosha at unity3d.com> writes:
>> [...]
>>
>> I tried cloning the largefiles repo into the hgext folder in Mercurial
>> and ran
>>
>>  % pyflakes hgext/largefiles/*.py
>>  hgext/largefiles/basestore.py:15: 'shutil' imported but unused
>>  hgext/largefiles/basestore.py:17: 'error' imported but unused
>>  hgext/largefiles/basestore.py:17: 'url_' imported but unused
>>  hgext/largefiles/lfutil.py:39: redefinition of function 'dirstate_walk'
>> from line 35
>>  hgext/largefiles/localstore.py:57: undefined name 'err'
>>  hgext/largefiles/overrides.py:13: 're' imported but unused
>>  hgext/largefiles/overrides.py:28: 'proto' imported but unused
>>  hgext/largefiles/overrides.py:611: local variable 'dest' is assigned to
>> but never used
>>  hgext/largefiles/overrides.py:662: redefinition of function 'write' from
>> line 647
>>  hgext/largefiles/proto.py:7: 'shutil' imported but unused
>>  hgext/largefiles/proto.py:109: undefined name 'l'
>>  hgext/largefiles/proto.py:126: undefined name 'capabilities_orig'
>>  hgext/largefiles/proto.py:155: undefined name 'ssh_oldcallstream'
>>  hgext/largefiles/proto.py:162: undefined name 'http_oldcallstream'
>>  hgext/largefiles/remotestore.py:57: undefined name 'HTTPError'
>>  hgext/largefiles/remotestore.py:61: undefined name 'urllib2'
>>  hgext/largefiles/remotestore.py:86: local variable 'expect_hash' is
>> assigned to but never used
>>  hgext/largefiles/remotestore.py:95: undefined name 'store_path'
>>  hgext/largefiles/remotestore.py:100: undefined name 'store_path'
>>  hgext/largefiles/reposetup.py:15: 'httprepo' imported but unused
>>  hgext/largefiles/reposetup.py:34: undefined name '_'
>>  hgext/largefiles/reposetup.py:224: redefinition of unused 'node' from
>> line 15
>>
>> You should look into those errors.
>>
>
> I will certainly look into these errors and get them fixed.
>

FYI, this is done now in Unity Technologies' copy of the repository:
http://fogbugz.unity3d.com/kiln/Repo/Mercurial/Group/largefiles

I have requeted that FogCreek pull the changes into the "main" repo on
developers.kilnhg.com.

Cheers,
Na'Tosha

-- 
*Na'Tosha Bard*
Build & Infrastructure Developer | Unity Technologies

*E-Mail:* natosha at unity3d.com
*Skype:* natosha.bard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110923/221de139/attachment.html>


More information about the Mercurial-devel mailing list