Returns command that user specified for vcs_name
(vcs_name)
| 42 | |
| 43 | |
| 44 | def get_user_command(vcs_name): |
| 45 | """ |
| 46 | Returns command that user specified for vcs_name |
| 47 | """ |
| 48 | |
| 49 | try: |
| 50 | return [vcs['cmd'] for vcs in get_vcs_settings() if vcs.get('name') == vcs_name][0] |
| 51 | except IndexError: |
| 52 | return None |
| 53 | |
| 54 | |
| 55 | def tfs_root(directory): |
no test coverage detected
searching dependent graphs…