Handle VCS errors when VCSJob is unsuccessful
Main problem descibed in bug report was the case when the name and email of author is not defined using git config --global. Due to this several operations like init via 'new from template' option or just simple commit failed without reporting error. Changes: * Set proper errorText for vcs jobs * New slot jobFinished in vcsdiffpatchsources * Shows detailed failure information through vcsError function when initialization fails. * Checks the status of commit job, if unsuccessful shows a error KMessageBox. * Several whitespace fixes slipped in shamelessly by vim BUG: 327931 REVIEW: 116530 FIXED-IN: 1.6.1
Showing
- plugins/appwizard/appwizardplugin.cpp 9 additions, 4 deletionsplugins/appwizard/appwizardplugin.cpp
- vcs/dvcs/dvcsjob.cpp 15 additions, 13 deletionsvcs/dvcs/dvcsjob.cpp
- vcs/widgets/vcsdiffpatchsources.cpp 19 additions, 3 deletionsvcs/widgets/vcsdiffpatchsources.cpp
- vcs/widgets/vcsdiffpatchsources.h 17 additions, 15 deletionsvcs/widgets/vcsdiffpatchsources.h
Loading
Please register or sign in to comment