Mercurial > kallithea
comparison rhodecode/tests/scripts/test_vcs_operations.py @ 3199:9f57b5624ec4 beta
fixes stupid git ci call that can break on systems that don't have this alias
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 23 Jan 2013 20:22:08 +0100 |
parents | 3472d8f37e6d |
children | bc7fb3e8d77e |
comparison
equal
deleted
inserted
replaced
3198:c20adbaf16af | 3199:9f57b5624ec4 |
---|---|
110 if vcs == 'hg': | 110 if vcs == 'hg': |
111 cmd = """hg commit -m 'commited new %s' -u '%s' %s """ % ( | 111 cmd = """hg commit -m 'commited new %s' -u '%s' %s """ % ( |
112 i, 'Marcin Kuźminski <marcin@python-blog.com>', added_file | 112 i, 'Marcin Kuźminski <marcin@python-blog.com>', added_file |
113 ) | 113 ) |
114 elif vcs == 'git': | 114 elif vcs == 'git': |
115 cmd = """git ci -m 'commited new %s' --author '%s' %s """ % ( | 115 cmd = """git commit -m 'commited new %s' --author '%s' %s """ % ( |
116 i, 'Marcin Kuźminski <marcin@python-blog.com>', added_file | 116 i, 'Marcin Kuźminski <marcin@python-blog.com>', added_file |
117 ) | 117 ) |
118 Command(cwd).execute(cmd) | 118 Command(cwd).execute(cmd) |
119 # PUSH it back | 119 # PUSH it back |
120 if vcs == 'hg': | 120 if vcs == 'hg': |