Commit a892b100 authored by Chirayu Desai's avatar Chirayu Desai
Browse files

sync: assign manifest_name earlier

* manifest_name was never set if opt.smart_sync or opt.smart_tag is used.
* Set it earlier, so that the code handles it correctly when it is None.
* An UnboundLocalError is raised if running `repo sync` without any options:
  local variable 'manifest_name' referenced before assignment
* This fixes the above regression caused by commit
  53a6c5d9

Change-Id: I57086670f3589beea8461ce0344f6ec47ab85b7b
parent ef668c92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment