summaryrefslogtreecommitdiffstats
path: root/progress.py
diff options
context:
space:
mode:
authorRoy Lee <roylee17@gmail.com>2010-05-09 04:32:08 +0800
committerShawn O. Pearce <sop@google.com>2010-05-27 14:54:20 -0700
commit18afd7f679ab6271a34f4ec01e7755dd85c5dcf4 (patch)
treeb237d98bb33622718431de5f4a76a60b85f26245 /progress.py
parent6623b21e1073a70f7d5cc6eddd364bdab337b439 (diff)
downloadgit-repo-18afd7f679ab6271a34f4ec01e7755dd85c5dcf4.tar.gz
sync: support --jobs to fetch projects simultaneously
This patch does two things for being compatibile with those Python which are built without threading support: 1. As the Python document and Shawn suggested, import dummy_threading when the threading is not available. 2. Reserve the single threaded code and make it default. In cases the --jobs does not work properly with dummy_threading, we still have a safe fallback. Change-Id: I40909ef8e9b5c22f315c0a1da9be38eed8b0a2dc
Diffstat (limited to 'progress.py')
0 files changed, 0 insertions, 0 deletions