commit | a892b1006b5b7193262f3783b9678e2c76978a9b | [log] [tgz] |
---|---|---|
author | Chirayu Desai <cdesai@cyanogenmod.org> | Tue Jun 11 14:18:46 2013 +0530 |
committer | Chirayu Desai <cdesai@cyanogenmod.org> | Tue Jun 11 14:18:58 2013 +0530 |
tree | b5834be69d2578788a314e269f684bc86d8d8e6b | |
parent | ef668c92c2c87c45df02bf1609a89e4479bbb30c [diff] |
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