Richard Lowe <[EMAIL PROTECTED]> writes:

> "Mark J. Nelson" <[EMAIL PROTECTED]> writes:
>
>>>> I've done several commits, some merges, some recommits on these files.  Is
>>>> the right answer to 'hg rollback <file>' to the parent's tip revision for
>>>> each of the files, and then my final recommit will remove any evidence of
>>>> my changes?
>>>
>>> Can't "rollback" a file, but you can "update" a file to a particular
>>> revision, which is what I'd suggest here.
>>
>> hg update -C
>
> Only do that if you have no uncommitted changes that you do not wish
> to lose, -C is a pretty big hammer.

Uh, sorry, "Do not mind losing" that *will* remove uncommitted
changes.

... got conversation and mail muddled.

>> hg revert -r oldrev files
>> hg commit files
>>
>> I think you want "revert" instead of "update," because it (revert) will 
>> change files in your working directory without updating metadata about 
>> your working context.
>
> Otherwise yes.
>
> -- Rich
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to