1 00:00:00,406 --> 00:00:03,072 So assume we have a patch file that fixes some whitespace. 2 00:00:03,072 --> 00:00:08,866 You can see on line 18 and 19 here, it fixes the whitespace problem. 3 00:00:08,866 --> 00:00:12,944 But then we notice on line 27 there's a similar problem that we missed. 4 00:00:12,944 --> 00:00:18,904 So the first thing we want to do to get that new change inside the patch, is to go modify the file in question. 5 00:00:18,904 --> 00:00:32,786 And we'll see on line 65, that's where the extra whitespace is again. 6 00:00:32,786 --> 00:00:36,028 We'll just fix that problem, we'll save it, we'll quit. 7 00:00:36,028 --> 00:00:41,195 And then we could use hg qnew here like we did in the last video, 8 00:00:41,195 --> 00:00:44,277 but the problem with that is that it's going to create a second patch file. 9 00:00:44,277 --> 00:00:48,612 What we really wanted to do is get the change inside the same patch file. 10 00:00:48,612 --> 00:00:53,438 So to do that, it's pretty easy, all you have to do is type hg qref. 11 00:00:53,438 --> 00:00:55,971 And that's for qrefresh. 12 00:00:55,971 --> 00:01:00,406 And wait a couple of seconds. 13 00:01:00,406 --> 00:01:05,402 And then we're just going to go open up that patch file again. 14 00:01:05,402 --> 00:01:10,530 And you can see down here, it has the extra fix in it. 15 00:01:10,530 --> 00:01:14,405 And that's all.