[yocto] Mercurial Authorization and Fetch with AUTOREV

Volker Vogelhuber v.vogelhuber at digitalendoscopy.de
Fri Jan 29 02:54:29 PST 2016


Due to the change in commit 9e24bde011479d9f22830080720510e52e9923d8
within the hg.py fetcher that it calls runfetchmd with "up" instead of 
"update" there's a
problem when handling username and password access in _buildhgcommand.

Another problem in the hg.py is when we use AUTOREV for fetching the 
latest revision.
In this case the call to setup_revisons in urldata_init results in an 
access to ud.moddir that
is not yet populated. So the block for creating ud.pkgdir, ud.moddir and 
ud.basecmd has
to be moved to the top.

Following patch should fix both issues.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg.patch
Type: text/x-patch
Size: 3277 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160129/66af9b97/attachment.bin>


More information about the yocto mailing list