Merge lp:~craighewetson-deactivatedaccount/bzr/update_with_local_commit into lp:~bzr/bzr/trunk-old
Proposed by
Craig Hewetson
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~craighewetson-deactivatedaccount/bzr/update_with_local_commit | ||||
Merge into: | lp:~bzr/bzr/trunk-old | ||||
Diff against target: | 0 lines | ||||
To merge this branch: | bzr merge lp:~craighewetson-deactivatedaccount/bzr/update_with_local_commit | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Needs Fixing | ||
Review via email: mp+10320@code.launchpad.net |
To post a comment you must log in.
I've tested this on my ubuntu machine and it works very well. I fails (with a clear error message) to update if the repository has local commits and uncommitted changes. It will inform the user to locally commit them before doing the update.
I suppose there could be a future improvement, and that is to check if the uncommitted changes where files that where locally committed. But I reckon that we might miss certain conditions (renaming etc) and this might cause it not to be full proof.
I suppose in the future Bazaar can handle this in a better way and try to merge the files for the user, but until then lets not allow the user to hang himself.
Please review and let me know if its good enough to go into trunk