Merge lp:~shanepatrickfagan/unity/unity-replace into lp:unity
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 735 | ||||
| Proposed branch: | lp:~shanepatrickfagan/unity/unity-replace | ||||
| Merge into: | lp:unity | ||||
| Diff against target: |
21 lines (+5/-1) 1 file modified
tools/unity.cmake (+5/-1) |
||||
| To merge this branch: | bzr merge lp:~shanepatrickfagan/unity/unity-replace | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Didier Roche | Approve on 2011-01-06 | ||
| Jason Smith (community) | 2010-12-20 | Approve on 2010-12-20 | |
|
Review via email:
|
|||
Description of the Change
| Didier Roche (didrocks) wrote : | # |
Hi Fagan, thanks for the merge request and your work there.
I definitively see the added value of such an option to users. However, I think that we should make it clear that the design decision is to make it useless. This should be noted in the Help of the switch (maybe even adding an "compatibility" option group) and print a warning when using it telling it's useless.
| Shane Fagan (shanepatrickfagan) wrote : | # |
> Hi Fagan, thanks for the merge request and your work there.
>
> I definitively see the added value of such an option to users. However, I
> think that we should make it clear that the design decision is to make it
> useless. This should be noted in the Help of the switch (maybe even adding an
> "compatibility" option group) and print a warning when using it telling it's
> useless.
Cool ill fix that give me 10 minutes and ill add the text.
| Shane Fagan (shanepatrickfagan) wrote : | # |
Ok pushed it should be a little bit more descriptive now
- 728. By Shane Fagan <email address hidden> on 2010-12-21
-
Added a bit more text to the help to stress that --replace actually does the exact same thing as unity without --replace
| Didier Roche (didrocks) wrote : | # |
Thanks for that fagan, can you also achieve the second part of my request: "print a warning when using it telling it's useless."
| Shane Fagan (shanepatrickfagan) wrote : | # |
I thought my change did that, what wording would you want instead?
| Didier Roche (didrocks) wrote : | # |
Sorry, I'm maybe not clear. I meant "when you run unity --replace" print the warning as well.
| Shane Fagan (shanepatrickfagan) wrote : | # |
Oh ok then ill upload a merge in 10 minutes
- 729. By Shane Fagan <email address hidden> on 2011-01-03
-
Added the other change didrocks asked for to print a message warning that the --replace switch shouldnt be used. One little thing though, with all the errors unity is putting out id say this message would be lost in them.
| Didier Roche (didrocks) wrote : | # |
Thanks fagan, I'll add a commit to replace Unity by unity in the warning as you are talking about the command line and not the shell :)
Merging it now, thanks for your work there!


+1 helps users used to gnome-shell --replace