]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2: preserve current working directory
authorMatt Madison <matt@madison.systems>
Wed, 10 Aug 2016 17:08:16 +0000 (10:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Aug 2016 15:50:22 +0000 (16:50 +0100)
commit6aa78bf3bd1f75728209e2d01faef31cb8887333
treeb69f9370c155f3e63d73630f29e176bab27a7c48
parent435c6fb838b9f38c0477bcc2f07c8ce22999132b
fetch2: preserve current working directory

Fix the methods in all fetchers so they don't change
the current working directory of the calling process, which
could lead to "changed cwd" warnings from bitbake.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 files changed:
lib/bb/fetch2/__init__.py
lib/bb/fetch2/bzr.py
lib/bb/fetch2/clearcase.py
lib/bb/fetch2/cvs.py
lib/bb/fetch2/git.py
lib/bb/fetch2/gitannex.py
lib/bb/fetch2/gitsm.py
lib/bb/fetch2/hg.py
lib/bb/fetch2/npm.py
lib/bb/fetch2/osc.py
lib/bb/fetch2/perforce.py
lib/bb/fetch2/repo.py
lib/bb/fetch2/svn.py