diff options
author | Phillip Smyth <phillipsmyth@Nexus-x240.dyn.ducie.codethink.co.uk> | 2018-05-29 13:48:19 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-07-20 14:29:44 +0000 |
commit | f484ab4f682ca09a2d5679df6309efb28e4b2429 (patch) | |
tree | dcf1ec4d68feed49d00a590b08ac1e3eb5a4483f | |
parent | 6158ee5a4fb3e6bbde3a0d925ccaccb2a7d4ca83 (diff) | |
download | buildstream-f484ab4f682ca09a2d5679df6309efb28e4b2429.tar.gz |
Updating .bzr plugin to omit the .bzr dir
Fixes issue #455
-rw-r--r-- | buildstream/plugins/sources/bzr.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/bzr.py b/buildstream/plugins/sources/bzr.py index 21121428c..9fd2eb60c 100644 --- a/buildstream/plugins/sources/bzr.py +++ b/buildstream/plugins/sources/bzr.py @@ -124,6 +124,8 @@ class BzrSource(Source): self._get_branch_dir(), directory], fail="Failed to checkout revision {} from branch {} to {}" .format(self.ref, self._get_branch_dir(), directory)) + # Remove .bzr dir + shutil.rmtree(os.path.join(directory, ".bzr")) def init_workspace(self, directory): url = os.path.join(self.url, self.tracking) |