diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-06-11 14:18:46 +0530 |
---|---|---|
committer | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-06-11 14:18:58 +0530 |
commit | a892b1006b5b7193262f3783b9678e2c76978a9b (patch) | |
tree | b5834be69d2578788a314e269f684bc86d8d8e6b /manifest_xml.py | |
parent | ef668c92c2c87c45df02bf1609a89e4479bbb30c (diff) | |
download | git-repo-a892b1006b5b7193262f3783b9678e2c76978a9b.tar.gz |
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
53a6c5d93a8ba708208826dab64c55fe97f06d0b
Change-Id: I57086670f3589beea8461ce0344f6ec47ab85b7b
Diffstat (limited to 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions