summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 00fee776..decf559b 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -958,7 +958,9 @@ later is required to fix a server side protocol bug.
958 if not success: 958 if not success:
959 err_event.set() 959 err_event.set()
960 960
961 _PostRepoFetch(rp, opt.repo_verify) 961 # Call self update, unless requested not to
962 if os.environ.get("REPO_SKIP_SELF_UPDATE", "0") == "0":
963 _PostRepoFetch(rp, opt.repo_verify)
962 if opt.network_only: 964 if opt.network_only:
963 # Bail out now; the rest touches the working tree. 965 # Bail out now; the rest touches the working tree.
964 if err_event.is_set(): 966 if err_event.is_set():