That's normal.
> However, when I click "Move selected files left," it tells me that x
> out of x hunks failed and asks me if I want to edit the patched file
> and rejects.
That's odd. My guess is that the patch and the file disagree on EOL,
causing the conflicts. Try adding to your Mercurial.ini:
[patch]
eol = auto
> When I go into the resolve dialog the only way that I can see of
> getting the changes back into the file correctly is to enter them
> manually into the top input box, or copying and pasting. Simply
> clicking the green tick box to resolve them just results in those
> changes being lost altogether.
>
> Is this by design and am I missing something, or is shelve/chunk
> selection still a work in progress?
That is the way the rejects dialog works. You have to hand-merge
rejects, the tool just tries to help it along by showing where the
chunk was supposed to apply and making the chunk lines easy copy-paste
material. The resolved/unresolved state is for your book keeping, to
keep track of which chunks you have resolved.
Before this dialog existed, you had to open the two files in a text
editor and do the merge by hand.
--
Steve Borho
I don't think so, but I've made a note to myself to test this to see
where the conflicts are coming from before the 2.0 release.
>> > When I go into the resolve dialog the only way that I can see of
>> > getting the changes back into the file correctly is to enter them
>> > manually into the top input box, or copying and pasting. Simply
>> > clicking the green tick box to resolve them just results in those
>> > changes being lost altogether.
>>
>> > Is this by design and am I missing something, or is shelve/chunk
>> > selection still a work in progress?
>>
>> That is the way the rejects dialog works. You have to hand-merge
>> rejects, the tool just tries to help it along by showing where the
>> chunk was supposed to apply and making the chunk lines easy copy-paste
>> material. The resolved/unresolved state is for your book keeping, to
>> keep track of which chunks you have resolved.
>>
>> Before this dialog existed, you had to open the two files in a text
>> editor and do the merge by hand.
>
> That makes sense now that I've managed to get the shelve tool working
> correctly.
>
--
Steve Borho