@@ -173,13 +173,21 @@
173 173 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
</blockquote>
174 174 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
175 175 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<p>You will be prompted for check-in comments using whatever editor
176 176 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
is specified by your VISUAL or EDITOR environment variable.</p>
177 177 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
178 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ In the default configuration, the [/help/commit|commit]
179 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ command will also automatically [/help/push|push] your changes, but that
180 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ feature can be disabled. (More information about
181 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ [./concepts.wiki#workflow|autosync] and how to disable it.)
182 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ Remember that your coworkers can not see your changes until you
183 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ commit and push them.</p>
184 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+
178 185 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<h2>Sharing Changes</h2>
179 186 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
180 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- <p>The changes you [/help/commit | commit] are only
187 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <p>When [./concepts.wiki#workflow|autosync] is turned off,
188 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ the changes you [/help/commit | commit] are only
181 189 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
on your local repository.
182 190 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
To share those changes with other repositories, do:</p>
183 191 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
184 192 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<blockquote>
185 193 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<b>[/help/push | fossil push]</b> <i>URL</i>
@@ -212,10 +220,17 @@
212 220 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
date/time stamp. ([./checkin_names.wiki | more info])
213 221 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
If you omit
214 222 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
the <i>VERSION</i>, then fossil moves you to the
215 223 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
latest version of the branch your are currently on.</p>
216 224 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
225 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <p>The default behaviors is for [./concepts.wiki#workflow|autosync] to
226 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ be turned on. That means that a [/help/pull|pull] automatically occurs
227 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ when you run [/help/update|update] and a [/help/push|push] happens
228 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ automatically after you [/help/commit|commit]. So in normal practice,
229 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ the push, pull, and sync commands are rarely used. But it is important
230 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ to know about them, all the same.</p>
231 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+
217 232 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<h2>Branching And Merging</h2>
218 233 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
219 234 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<p>Use the --branch option to the [/help/commit | commit] command
220 235 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
to start a new branch. Note that in Fossil, branches are normally
221 236 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
created when you commit, not before you start editing. You can
@@ -222,36 +237,43 @@
222 237 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
use the [/help/branch | branch new] command to create a new branch
223 238 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
before you start editing, if you want, but most people just wait
224 239 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
until they are ready to commit.
225 240 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
226 241 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
To merge two branches back together, first
227 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- [/help/update | update] to the leaf of one branch. Then do a
228 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- [/help/merge | merge] of the leaf of the other branch:</p>
242 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ [/help/update | update] to the branch you want to merge into.
243 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ Then do a [/help/merge|merge] another branch that you want to incorporate
244 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ the changes from. For example, to merge "featureX" changes into "trunk"
245 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ do this:</p>
229 246 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
230 247 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<blockquote>
231 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- <b>[/help/merge | fossil merge]</b> <i>VERSION</i>
248 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <b>fossil [/help/update|update] trunk</b><br>
249 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <b>fossil [/help/merge|merge] featureX</b><br>
250 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <i># make sure the merge didn't break anything...</i><br>
251 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <b>fossil [/help/commit|commit]
232 252 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
</blockquote>
233 253 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
234 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- <p>The <i>VERSION</i> can be any of the forms allowed for
235 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- [/help/update | update].
236 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- After performing the merge, you will normally want to test it to
237 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- make sure it does not break anything, then
238 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- [/help/commit | commit] your changes.
239 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- In the default configuration, the [/help/commit|commit]
240 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- command will also automatically [/help/push|push] your changes, but that
241 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- feature can be disabled. (More information about
242 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- [./concepts.wiki#workflow|autosync] and how to disable it.)
243 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- Remember that your coworkers can not see your changes until you
244 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- commit and push them.</p>
245 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
-
246 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- <p>The merge command has options to cherrypick individual
247 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- changes, or to back out individual changes.</p>
248 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
-
249 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- <p>Note that the merge command changes only your local check-out.
250 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- The merge command does <em>not</em> modify the repository in any way.
251 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- You must do a separate [/help/commit | commit] after the merge in order
252 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- to put the merged code back into the repository.</p>
254 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <p>The argument to the [/help/merge|merge] command can be any of the
255 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ version identifier forms that work for [/help/update|update].
256 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ ([./checkin_names.wiki|more info].)
257 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ The merge command has options to cherrypick individual
258 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ changes, or to back out individual changes, if you don't want to
259 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ do a full merge.</p>
260 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+
261 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ The merge command puts all changes in your working check-out.
262 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ No changes are made to the repository.
263 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ You must run [/help/commit|commit] separately
264 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ to add the merge changes into your repository to make them persistent
265 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ and so that your coworkers can see them.
266 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ But before you do that, you will normally want to run a few tests
267 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ to verify that the merge didn't cause logic breaks in your code.
268 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+
269 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ The same branch can be merged multiple times without trouble. Fossil
270 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ automatically keeps up with things and avoids conflicts when doing
271 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ multiple merges. So even if you have merged the featureX branch
272 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ into trunk previously, you can do so again and Fossil will automatically
273 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ know to pull in only those changes that have occurred since the previous
274 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ merge.
253 275 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
254 276 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<p>If a merge or update doesn't work out (perhaps something breaks or
255 277 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
there are many merge conflicts) then you back up using:</p>
256 278 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
257 279 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<blockquote>
@@ -369,8 +391,11 @@
369 391 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<b>fossil sync http://192.168.1.36:8080/ --proxy off</b>
370 392 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
</blockquote>
371 393 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
372 394 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<h2>More Hints</h2>
373 395 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
374 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- <p>A [/help | complete list of commands] is available.
396 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ <p>A [/help | complete list of commands] is available, as is the
397 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ [./hints.wiki|helpful hints] document. See the
398 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ [./permutedindex.wiki#pindex|permuted index] for additional
399 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ documentation.
375 400 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
376 401 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
<p>Explore and have fun!</p>
377 402 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!