Comment 1 for bug 439920

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 439920] [NEW] qcommit on checkout should provide an update option when checkout out of date

Craig Hewetson пишет:
> Current Problem:
> We work with checkouts or bound branches.
> When the checkout is out of date with the master then qcommit displays an error message and tells the user to run update.
>
> Recommendation:
> When the commit fails, open the qupdate dialog with a slightly different title.

Currently qcommit run bzr as subprocess and don't have enough info about
the reason why commit failed. So I'm sure there is possible situations
when running qupdate will be wrong thing.

If your operation was failed and you close qcommit then your commit
message will be saved and restored next time. So it should be pretty
safe to close qcommit, run qupdate and again run qcommit.

In general case qupdate *can* produce conflicts. So committing just
after update could be a wrong thing.