Skip to contentSkip to conversation

Patches from VCS

DISCUSSION Detlef Vollmann 1 participant 1 message Jul 12, 2010

lore
Share & tools
lore
#0 lore raw

patch.bbclass contains this line (62):
url = bb.encodeurl((type, host, path, user, pswd, []))

This line removes the parms from url bevore giving it to the fetcher to compute the localpath.

This effectivly disallows getting the patch from a version control system (given that supports fetching single files).

So I'm curious about the reason for the above line. The fetcher has to cope with all parms anyway in do_fetch, so the only reason I can see is either (false) optimization or to explicitely forbid fetching patches from a VCS.

Has anyone a problem with removing that line?

Detlef