Review Request 116530: Better handling of VCS error during init and commit

Shubham Chaudhary shubham.chaudhary at kdemail.net
Sun Mar 2 12:47:42 UTC 2014



> On March 2, 2014, 5:44 p.m., Kevin Funk wrote:
> > vcs/widgets/vcsdiffpatchsources.cpp, line 252
> > <https://git.reviewboard.kde.org/r/116530/diff/1/?file=251326#file251326line252>
> >
> >     job might be null here, according to the if-condition

True that, plus errorString doesn't give much useful information. I wanted to show some of the details shown in toolview? I looked at several vcs related classes but still no luck. Any hint?


- Shubham


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116530/#review51643
-----------------------------------------------------------


On March 2, 2014, 4:47 p.m., Shubham Chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116530/
> -----------------------------------------------------------
> 
> (Updated March 2, 2014, 4:47 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Bugs: 327931
>     http://bugs.kde.org/show_bug.cgi?id=327931
> 
> 
> Repository: kdevplatform
> 
> 
> Description
> -------
> 
> Patch does the following 2 things:
> * Shows detailed failure information through vcsError function when initialization fails.
> * Checks  the status of commit job, if unsuccessful shows a error KMessageBox.
> 
> 
> Diffs
> -----
> 
>   plugins/appwizard/appwizardplugin.cpp 17d556b 
>   vcs/widgets/vcsdiffpatchsources.cpp 77144d9 
> 
> Diff: https://git.reviewboard.kde.org/r/116530/diff/
> 
> 
> Testing
> -------
> 
> Manually tested for both cases with .gitconfig removed, so author's name and email is not available to git.
> 
> 
> Thanks,
> 
> Shubham Chaudhary
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140302/ce406df7/attachment.html>


More information about the KDevelop-devel mailing list