Skip to content
Snippets Groups Projects
Commit f484ab4f authored by Phillip Smyth's avatar Phillip Smyth Committed by Tristan Van Berkom
Browse files

Updating .bzr plugin to omit the .bzr dir

Fixes issue #455
parent 6158ee5a
No related branches found
No related tags found
1 merge request!556Remove history from build trees
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment