diff options
| author | Shawn O. Pearce <sop@google.com> | 2010-12-22 14:46:15 -0800 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2010-12-22 14:46:15 -0800 |
| commit | 9275fd43294e760e47736857113f32a2f189c6c6 (patch) | |
| tree | 6e4f48d0a3691896f5bdff655077e4db268a32bf /main.py | |
| parent | 13f3da50d40b89ee5b05f5f3de9542c20edac6d1 (diff) | |
| parent | 0048b69c038306fe74408a63cdd0773b0d86a8fe (diff) | |
| download | git-repo-9275fd43294e760e47736857113f32a2f189c6c6.tar.gz | |
Merge branch 'stable'
* stable:
Fixed race condition in 'repo sync -jN' that would open multiple masters.
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -28,7 +28,7 @@ import re | |||
| 28 | import sys | 28 | import sys |
| 29 | 29 | ||
| 30 | from trace import SetTrace | 30 | from trace import SetTrace |
| 31 | from git_config import close_ssh | 31 | from git_config import init_ssh, close_ssh |
| 32 | from command import InteractiveCommand | 32 | from command import InteractiveCommand |
| 33 | from command import MirrorSafeCommand | 33 | from command import MirrorSafeCommand |
| 34 | from command import PagedCommand | 34 | from command import PagedCommand |
| @@ -212,6 +212,7 @@ def _Main(argv): | |||
| 212 | repo = _Repo(opt.repodir) | 212 | repo = _Repo(opt.repodir) |
| 213 | try: | 213 | try: |
| 214 | try: | 214 | try: |
| 215 | init_ssh() | ||
| 215 | repo._Run(argv) | 216 | repo._Run(argv) |
| 216 | finally: | 217 | finally: |
| 217 | close_ssh() | 218 | close_ssh() |
