~therp-nl/anybox.recipe.openerp/jbaudoux-relative_paths_resolve_conflict

« back to all changes in this revision

Viewing changes to anybox/recipe/openerp/vcs/git.py

[MRG] Update with target branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
    def archive(self, target_path):
84
84
        revision = self.parents()[0]
85
 
        os.makedirs(target_path)
 
85
        if not os.path.exists(target_path):
 
86
            os.makedirs(target_path)
86
87
        with working_directory_keeper:
87
88
            os.chdir(self.target_dir)
88
89
            target_tar = tempfile.NamedTemporaryFile(