{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 ArialMT;\f2\fmodern\fcharset0 CourierNewPSMT;
}
{\colortbl;\red255\green255\blue255;\red32\green0\blue255;\red72\green255\blue0;\red236\green0\blue0;
\red39\green77\blue175;}
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid1}}
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
\margl1440\margr1440\vieww14780\viewh17320\viewkind0
\deftab720
\pard\pardeftab720\sa240\ql\qnatural
\f0\fs20 \cf0 Hi\uc0\u8232 \u8232 I've simulated the merges based on files, i downloaded from your repo. I got a conflict while using the backout option to get your editings without marilyn's patches. I solved this conclict by simple choosing one of the variants. Here you can see:
\fs24 \
\pard\pardeftab720\sa240\ql\qnatural
\cf0 {{\NeXTGraphic unknown.bmp \width14235 \height3570
}¬}\pard\pardeftab720\sa240\ql\qnatural
\cf0 \
\pard\tx220\tx720\pardeftab720\li720\fi-720\ql\qnatural
\ls1\ilvl0
\fs20 \cf0 {\listtext 1. }a commit of marilyn's version at the left fork
\fs24 \
\ls1\ilvl0
\fs20 {\listtext 2. }a commit of jim's changes including marilyn's patches
\fs24 \
\ls1\ilvl0
\fs20 {\listtext 3. }a commit of jim's version, without marilyn's patches. I got this by using(fossil merge --backout a91582b699) and manually solving the conflict. I added an additional change to force a new conflict to generate a conflict situation for the fossil-merge-call.
\fs24 \
\pard\pardeftab720\ql\qnatural
\cf0 \'a0\
\'a0\
\pard\pardeftab720\ql\qnatural
\f1\fs20 \cf2 The global timeline displays a line, indicating the backout-merge. In my text, i've removed this line. Attached, you'll find both versions. So this is my proposal:
\f0\fs24 \cf0 \
\'a0\
\f1\fs20 \cf2 1. changing the current\'a0 paragraph by using a 4th level
\f0\fs24 \cf0 \
\'a0\
\f1\fs20 \cf2 3.4.5.1 Using external patch-tools
\f0\fs24 \cf0 \
\f1\fs20 \cf2 ... your stuff\'a0...
\f0\fs24 \cf0 \
\'a0\
\f1\fs20 \cf2 2. adding a new paragraph for the fossil-merge:
\f0\fs24 \cf0 \
\f1\fs20 \cf2 ------------------------------------------------------------------------------------------------------------------------
\f0\fs24 \cf0 \
\f1\fs20 \cf2 3.4.5.2 Using fossil
\f0\fs24 \cf0 \
\f1\fs20 \cf2 It's also possible to do merge by using fossil. Asuming, we have similar situation like above, but jim has commit his changes. In this example, jim as commit his changes in two steps, ignoring the fork by forcing the commit using the -k option with:
\f0\fs24 \cf0 \
\'a0\
\pard\pardeftab720\ql\qnatural
\f2\fs20 \cf2 E:\\Profile\\Ratte\\data\\organize\\fossil-w32\\fossil-book>fossil commit -m "adding some changes of jim"\
fossil: would fork.\'a0 "update" first or use -f or --force.
\f0\fs24 \cf0 \
\'a0\
\f2\fs20 \cf2 E:\\Profile\\Ratte\\data\\organize\\fossil-w32\\fossil-book>fossil commit -f -m "adding some other changes of jim"\
New_Version: df9f2ff6b14ef65a9dd2162f8bd20c78e1628165\
\pard\pardeftab720\ql\qnatural
\f1 \cf2 Now we habve a fork on the timeline:
\f0\fs24 \cf0 \
\pard\pardeftab720\ql\qnatural
\cf0 {{\NeXTGraphic 1__#$!@%!#__unknown.bmp \width14235 \height3570
}¬}\pard\pardeftab720\ql\qnatural
\cf0 \
\pard\pardeftab720\ql\qnatural
\f2\fs20 \cf2 E:\\Profile\\Ratte\\data\\organize\\fossil-w32\\fossil-book>fossil sta\
repository:\'a0\'a0 E:/Profile/Ratte/data/organize/fossil-w32/fossil-book.fossil\
local-root:\'a0\'a0 E:/Profile/Ratte/data/organize/fossil-w32/fossil-book/\
server-code:\'a0 4a0dce6d271bc75b55e7d0c5547128f063b0dbc6\
checkout:\'a0\'a0\'a0\'a0 df9f2ff6b14ef65a9dd2162f8bd20c78e1628165 2010-06-01 17:37:40 UTC\
parent:\'a0\'a0\'a0\'a0\'a0\'a0 f10f68d7175857ae5d39e208d246f281940edaf4 2010-06-01 17:35:31 UTC\
parent:\'a0\'a0\'a0\'a0\'a0\'a0 d9e10e26021f8f76f4bb8259a319ce0a5780c832 2010-06-01 17:21:34 UTC\
tags:\'a0\'a0\'a0\'a0\'a0\'a0\'a0\'a0 trunk\
EDITED\'a0\'a0\'a0\'a0 fossilbook.lyx\
\pard\pardeftab720\ql\qnatural
\f1 \cf2 To solve the fork,, we can simply use the fossil buildin merge command:\
\pard\pardeftab720\ql\qnatural
\f2 \cf2 E:\\Profile\\Ratte\\data\\organize\\fossil-w32\\fossil-book>fossil merge a91582b699\
MERGE fossilbook.lyx\
***** 2 merge conflicts in fossilbook.lyx
\f1 \
\'a0\
The local file now has Marilyn's changes. The merge produced two conflicts, which have to be solved manually. They are shown in the file like this:\
\f2 >>>>>>> BEGIN MERGE CONFLICT\
\pard\pardeftab720\ql\qnatural
\cf3 \'a0Thanks to Fossil's distributed design once the set up is done using it\
\'a0with multiple users is not much different than the single user case.\
\'a0Fossil will automatically manage the most multiple user details.\
\pard\pardeftab720\ql\qnatural
\cf2 ============================
\f1 \
\'a0\
\pard\pardeftab720\ql\qnatural
\f2 \cf4 \'a0Thanks to Fossil's distributed design once the set up is done using is\
\'a0not much different than the single user case with Fossil managing automatically\
\'a0the multiple user details.\
\pard\pardeftab720\ql\qnatural
\cf2 <<<<<<< END MERGE CONFLICT
\f1 \
\'a0\
Edit the file and simply commit your new version:\
\f2 E:\\Profile\\Ratte\\data\\organize\\fossil-w32\\fossil-book>fossil commit -m "merging marilyn's fork back"\
New_Version: acdd676d3ab157769496f6845ccc7652985c1d03\
\pard\pardeftab720\ql\qnatural
\f0\fs24 \cf0 {{\NeXTGraphic 2__#$!@%!#__unknown.bmp \width14310 \height3885
}¬}\pard\pardeftab720\ql\qnatural
\f2\fs20 \cf2 \
\pard\pardeftab720\ql\qnatural
\f1 \cf2 Marilyn can simply update to the new version. If we look at the global timeline, we can see the indicator lines for the merge:\
\pard\pardeftab720\ql\qnatural
\f0\fs24 \cf0 {{\NeXTGraphic 3__#$!@%!#__unknown.bmp \width12855 \height2910
}¬}\pard\pardeftab720\ql\qnatural
\f1\fs20 \cf2 \
\pard\pardeftab720\ql\qnatural
\f2 \cf2 \
\pard\pardeftab720\ql\qnatural
\f1 \cf2 ------------------------------------------------------------------------------------------------------------------------\
I can send additional infos.\
\'a0\
best regards\
Wolfgang\
\pard\pardeftab720\ql\qnatural
\f0 \cf0 \'a0
\fs24 \
\pard\pardeftab720\sa200\ql\qnatural
\fs20 \cf0 \uc0\u8232 \u8232 \u8232 -----Urspr\'fcngliche Nachricht-----\u8232 Von: jim Schimpf [{\field{\*\fldinst{HYPERLINK "mailto:jim.schimpf@gmail.com"}}{\fldrslt \cf5 \ul \ulc5 mailto:jim.schimpf@gmail.com}}]\uc0\u8232 Gesendet: Dienstag, 1. Juni 2010 18:47\u8232 An: Wolfgang Stumvoll\u8232 Betreff: Re: AW: Fossilbook - great jon and...\u8232 \u8232 \u8232 It doesn't have to be the exact files another example is OK.\'a0 But if\'a0\u8232 you want the originals they are in the Fossil timeline on the web site.\u8232 \u8232 \'a0\'a0\'a0\'a0\'a0\'a0\'a0 --jim\u8232 \u8232 On Jun 1, 2010, at 12:39 PM, Wolfgang Stumvoll wrote:\u8232 \u8232 > Hi\u8232 >\u8232 > I can easiely create an example and\'a0 send you screenshots of\u8232 > * the dos box with the commands\u8232 > * the timeline-page of fossil\u8232 >\u8232 > If you can send me the original files, you used for your example, i'll\u8232 > can do the merge in a clean repository with this file. Diffs and file\u8232 > output would match your example, Artefact-id's and OS-screenshot's not\u8232 > :-(\u8232 >\u8232 > Wolfgang\u8232 >\u8232 > -----Urspr\'fcngliche Nachricht-----\u8232 > Von: jim Schimpf [{\field{\*\fldinst{HYPERLINK "mailto:jim.schimpf@gmail.com"}}{\fldrslt \cf5 \ul \ulc5 mailto:jim.schimpf@gmail.com}}]\uc0\u8232 > Gesendet: Dienstag, 1. Juni 2010 18:29\u8232 > An: Wolfgang Stumvoll\u8232 > Betreff: Re: Fossilbook - great jon and...\u8232 >\u8232 >\u8232 > Thank you for the comments (and catching the dumb spelling mistake). I\u8232 > would be interested in your merge examples and would work them into\u8232 > the chapter and also in the command section where merge is define.\'a0 Do\u8232 > you have screen captures (text or pictures) ?\'a0 I did have some trouble\u8232 > with the merge section as I didn't have a huge amount of experience\u8232 > with it.\'a0 Merge is the degenerate case in the example project since\u8232 > there is really only one source file.\'a0 In more diverse code projects\u8232 > it is important but won't happen as often.\u8232 >\u8232 > \'a0\'a0\'a0\'a0\'a0 Thanks again for the comments.\u8232 >\u8232 > \'a0\'a0\'a0\'a0\'a0 --jim schimpf\u8232 >\u8232 > On Jun 1, 2010, at 12:15 PM, Wolfgang Stumvoll wrote:\u8232 >\u8232 >> Hi Jim\u8232 >>\u8232 >> I really like your book. I took a quick look through and came to the\u8232 >> conclusion:\u8232 >>\u8232 >> * it gives a good overview over source code control\u8232 >> * explanies very well the basics of fossil\u8232 >> * gives a overview over the available commands\u8232 >>\u8232 >> I detected some things, i didn't know and which will help me in the\u8232 >> future.\u8232 >>\u8232 >> Up to now, i have to remarks to the book\u8232 >> 1. the chapter 'merge' should also explain the very simple method, of\u8232 >> using the fossil-internal meerge command. Especially on Windows,\u8232 >> their\u8232 >\u8232 >> is no external patch program - i'm running fossil in a windows\u8232 >> environment with a WHS-server machine, WinXP-Pro/WinXP-Home and Win7\u8232 >> clients. In this environment it's a good thing, only to use the\u8232 >> fossil\u8232 >\u8232 >> buildt in features :-) 2. There is a typo in 4.5.6. repositiry sounds\u8232 >> funny :-)\u8232 >>\u8232 >> If you like it, i could send you some missing merge-variant. The only\u8232 >> problem would be, that the examples would not be the same (other rep,\u8232 >> other OS).\u8232 >>\u8232 >> Sincerely\u8232 >> Wolfgang({\field{\*\fldinst{HYPERLINK "mailto:ratwhs@stumvolls.de"}}{\fldrslt \cf5 \ul \ulc5 ratwhs@stumvolls.de}})\uc0\u8232 >>\u8232 >\
\pard\pardeftab720\ql\qnatural
\fs24 \cf0 {{\NeXTGraphic pre-merge.jpg \width14235 \height3570
}¬}\pard\pardeftab720\ql\qnatural
\cf0 {{\NeXTGraphic post-merge.jpg \width14310 \height3885
}¬}\pard\pardeftab720\ql\qnatural
\cf0 {{\NeXTGraphic timeline-post-optimized.jpg \width12855 \height2910
}¬}\pard\pardeftab720\ql\qnatural
\cf0 {{\NeXTGraphic timeline-post-orig.jpg \width12855 \height2910
}¬}}