-
So assume we have a patch file that fixes some whitespace.
-
You can see on line 18 and 19 here, it fixes the whitespace problem.
-
But then we notice on line 27 there's a similar problem that we missed.
-
So the first thing we want to do to get that new change inside the patch, is to go modify the file in question.
-
And we'll see on line 65, that's where the extra whitespace is again.
-
We'll just fix that problem, we'll save it, we'll quit.
-
And then we could use hg qnew here like we did in the last video,
-
but the problem with that is that it's going to create a second patch file.
-
What we really wanted to do is get the change inside the same patch file.
-
So to do that, it's pretty easy, all you have to do is type hg qref.
-
And that's for qrefresh.
-
And wait a couple of seconds.
-
And then we're just going to go open up that patch file again.
-
And you can see down here, it has the extra fix in it.
-
And that's all.