how to push selected changes only?

hamann.w at t-online.de hamann.w at t-online.de
Tue Jan 21 04:56:10 UTC 2014


> >
>> 
>> Another option might be to use hg export and hg patch; if the size of the
>> changes to be transferred is small, then the manual aspects of this won't
>> be too bad.   The Mercurial developers use patchbombs to review changes
>> proposed for Mercurial itself.
>> 
>> /dps
>> 

Hi Dave,

I have solved the problem in a different way now for the moment
> I made a script that would read the output of hg log -r 13:40 -r 20:30
> (so it had things in correct order), present them one revision at a time,
> and let me deicde whether to include the revision, skip it (would mean
> join it with the next rev affecting the same file), or include only some files.
> The script would then run commands like
> hg cat -r 13 file1 >../orig-dir/file1
> to copy the file to the other repo, modify its file date, and commit.
> I found out that I needed to provide an add option as well

Looking at the concepts, using export/patch (with the same simple user interface)
would have been a better choice. I will try to do it that way next time

Regards
Wolfgang





More information about the Mercurial mailing list