This commit is contained in:
Jakob Borg
2015-07-01 22:16:54 +02:00
parent d36508766d
commit b5c71c2076
+4
View File
@@ -28,20 +28,24 @@ presence of three new files, ``foo``, ``bar`` and ``baz``. When ``foo`` is
discovered, it's index entry gets assigned local version ``1`` and the counter discovered, it's index entry gets assigned local version ``1`` and the counter
is increased. Likewise ``bar`` gets ``2`` and ``foo`` gets ``3``. is increased. Likewise ``bar`` gets ``2`` and ``foo`` gets ``3``.
==== =============
File Local Version File Local Version
==== ============= ==== =============
foo 1 foo 1
bar 2 bar 2
baz 3 baz 3
==== =============
The next change to happen will be assigned the value ``4``. If the file The next change to happen will be assigned the value ``4``. If the file
``bar`` is updated, the index will look like: ``bar`` is updated, the index will look like:
==== =============
File Local Version File Local Version
==== ============= ==== =============
foo 1 foo 1
bar 4 bar 4
baz 3 baz 3
==== =============
If we had already given the first index above to another device, and they tell If we had already given the first index above to another device, and they tell
us that they see a maximum local version value of ``3``, then we know that we us that they see a maximum local version value of ``3``, then we know that we