working with MQ rejected files
0000 vk
0000.vk at gmail.com
Tue Mar 3 09:32:56 CST 2009
On Tue, Mar 3, 2009 at 1:25 AM, Stefan Rusek <stefan at rusek.org> wrote:
> On Tue, Mar 3, 2009 at 1:17 AM, 0000 vk <0000.vk at gmail.com> wrote:
> > [...]
> >
> >> Each .rej file shows the parts of the diff that could not be applied
> >> to the file. I generally open up the .rej files in a text editor and
> >> manually make the changes in the .rej files. It generally isn't hard,
> >> though if you have a lot of conflicts, it can be quite a chore.
> >
> > but once you made the fix in the .rej file how do you apply it back? do
> you
> > qimport the .rej file? or manually merge the changes back?
> >
>
> Sorry my comment was more than a little ambiguous. I don't make any
> changes to the .rej files. I manually make the changes in the .rej
> file to the file being patched. After that is done, you simply run 'hg
> qrefresh'
actually your comment turned out to be pretty useful. turns out emacs diff
mode understands .rej files and allows you to edit them and apply individual
hunks back to the original file with a simple key press combo. you can then
qrefresh as needed. for smallish conflicts this works great.
thanks! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090303/9cf5d6e7/attachment.htm
More information about the Mercurial
mailing list