def test_latest_unless_no_cwd_issue_6800(self):
        name = os.path.join(integration.TMP, 'salt_repo')
        if os.path.isdir(name):
            shutil.rmtree(name)
        try:
            ret = self.run_state(
                'git.latest',
                name='https://{0}/saltstack/salt-test-repo.git'.format(self.__domain),
                rev='develop',
                target=name,
                unless='test -e {0}'.format(name),
                submodules=True
            )
            self.assertSaltTrueReturn(ret)
            self.assertTrue(os.path.isdir(os.path.join(name, '.git')))
        finally:
            shutil.rmtree(name, ignore_errors=True)
Merge the given translations into the catalog.
dataset/ETHPy150Open saltstack/salt/tests/integration/states/git.py/GitTest.test_latest_unless_no_cwd_issue_6800--crossover with--dataset/ETHPy150Open ibagrak/algae/gae/libs/babel/support.py/Translations.merge