How to merge only changes of certain files of a given changeset into a working copy?

Marko Käning mk362 at mch.osram.de
Fri Feb 27 04:13:32 CST 2009


Hi,

having had a discussion with my favourite ClearCase user I came across a 
question which is most likely typical for CC:

What if I want to merge only changes of a certain file (and not the whole 
directory or repository containg all files) in a given changeset into my 
current working copy?

As I understand "hg merge" would merge repo-wide... How can I limit this 
to only a single file?

I wonder whether I run into a conceptual problem here, typical for 
file-versioned SCM's like CVS or CC, or whether there is indeed a standard 
way to merge only singular files in hg.

Regards,
Marko


More information about the Mercurial mailing list