[issue2044] qrefresh doesnt remember whitespace changes

AlexRayne bugs at mercurial.selenic.com
Mon Feb 15 23:07:57 UTC 2010


New submission from AlexRayne <AlexRaynePE196 at lavabit.com>:

Hallow.
have a patch (see attached) with a pies of :


                clamps_pool.limit = 1;
                event_watertank(' ', ev_watertank_fill);
                while ((tankA_state > tank_full) || fire_state) {
                    if ((tank_A_clamps12 && (tankA_state > tank_notfull)) ||
fire_state) {
                    clamps_pool.limit = 2;
                    event_watertank(' ', ev_watertank_fillfast);
                        ///*start second clamf if very low level of fire
                    PROCESS_WAIT_UNTIL(((tankA_state <= tank_notfull) &&
~fire_state) 
                                    || (tankA_state >= tank_empty));
                        event_watertank(' ', ev_watertank_fill);
                    clamps_pool.limit = 1;
                        if (tankA_state >= tank_empty) {break;}
                }
                    PROCESS_WAIT_UNTIL( ((tankA_state <= tank_full) &&
~fire_state)
                                      || (tankA_state >= tank_notfull));
                    if (tankA_state >= tank_empty) {break;}
                }
                clamps_pool.limit = 0;
                event_watertank(' ', ev_watertank_stopfill);
                continue;


i change indentation of some strings to :

                clamps_pool.limit = 1;
                event_watertank(' ', ev_watertank_fill);
                while ((tankA_state > tank_full) || fire_state) {
                    if ((tank_A_clamps12 && (tankA_state > tank_notfull)) ||
fire_state) {
                        clamps_pool.limit = 2;
                        event_watertank(' ', ev_watertank_fillfast);
                        ///*start second clamf if very low level of fire
                        PROCESS_WAIT_UNTIL(((tankA_state <= tank_notfull) &&
~fire_state) 
                                        || (tankA_state >= tank_empty));
                        event_watertank(' ', ev_watertank_fill);
                        clamps_pool.limit = 1;
                        if (tankA_state >= tank_empty) {break;}
                    }
                    PROCESS_WAIT_UNTIL( ((tankA_state <= tank_full) &&
~fire_state)
                                      || (tankA_state >= tank_notfull));
                    if (tankA_state >= tank_empty) {break;}
                }
                clamps_pool.limit = 0;
                event_watertank(' ', ev_watertank_stopfill);
                continue;
            }

and now hg qref doent change contents of a patch.
hg diff also doesnt show any changes
hg st - shows that desired file changed
hg qpop aborts and require refresh due to changes occured

----------
files: fix-tasks-watertank_sensor-3-2
messages: 11747
nosy: AlexRayne
priority: bug
status: unread
title: qrefresh doesnt remember whitespace changes
topic: mq

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2044>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-tasks-watertank_sensor-3-2
Type: application/octet-stream
Size: 1880 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100215/a77e69e2/attachment.obj>


More information about the Mercurial-devel mailing list