On Mon, Apr 11, 2011 at 1:54 PM, Alaric Snell-Pym <[email protected]>wrote:
> On 04/11/11 16:15, Stephan Beal wrote: > > Hi, all, > > > > Last weekend i finally found the opportunity to use the --cherrypick > option > > of the "merge" command (and it saved me a lot of tedious effort in the > form > > of manual merges). i notice that the timeline does not appear to track > such > > merges. Is there a way to see such merges after the fact? Since i > couldn't > > find one, i started adding the cherrypicked IDs to my commit messages > (thank > > goodness i can edit them after the fact), but i'm curious if i just > > overlooked something. > > It would be nice to record this, yeah - merge --cherrypick seems to just > apply the "diffs" of a particular merge to the working copy (and add any > new files as ADDED_BY_MERGE, it seems). > Fossil does not (currently) record any information about cherry-picks. I did make an extension to the file format to allow Fossil to do this in the future. But I only made that extension this year. If any information is recorded about cherry-picks, people with older versions of fossil won't be able to read repositories that make use of this extension. So I need to wait until everybody has upgraded to a more recent version of Fossil before I add the code to actually record the cherry-picks in the manifest files. > > I've just done an experiment, doing three commits that add new files on > a branch, cherry-picking the middle of the three back to the trunk (with > a commit message saying so), then merging the trunk into the branch - it > worked, but complained that there was no common ancestor for the file > added in the cherry-picked commit. I didn't have time to try it with > actual content that gets merged, but I'm hoping the system realises it's > got some changes already present due to cherry-picking and doesn't > explode about conflicts if so... > > ABS > > -- > Alaric Snell-Pym > http://www.snell-pym.org.uk/alaric/ > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

