aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-05-22 15:55:40 -0400
committerNick Mathewson <nickm@torproject.org>2009-05-22 15:55:40 -0400
commit9f69b3d94c86aa470d7927fe7f6a96693e5baf0c (patch)
treed91b77b4526439137accbbdaac2d3518be3b0c73
parenta3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc (diff)
downloadtor-9f69b3d94c86aa470d7927fe7f6a96693e5baf0c.tar
tor-9f69b3d94c86aa470d7927fe7f6a96693e5baf0c.tar.gz
[prop140] Note another useful restriction of ed format.
-rw-r--r--doc/spec/proposals/140-consensus-diffs.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/spec/proposals/140-consensus-diffs.txt b/doc/spec/proposals/140-consensus-diffs.txt
index b4a8ab4f8..8bc4070bf 100644
--- a/doc/spec/proposals/140-consensus-diffs.txt
+++ b/doc/spec/proposals/140-consensus-diffs.txt
@@ -5,6 +5,11 @@ Created: 13-Jun-2008
Status: Accepted
Target: 0.2.2.x
+0. History
+
+ 22-May-2009: Restricted the ed format even more strictly for ease of
+ implementation. -nickm
+
1. Overview.
Tor clients and servers need a list of which relays are on the
@@ -133,6 +138,10 @@ Target: 0.2.2.x
Note that line numbers always apply to the file after all previous
commands have already been applied.
+ The commands MUST apply to the file from back to front, such that
+ lines are only ever referred to by their position in the original
+ file.
+
The "current line" is either the first line of the file, if this is
the first command, the last line of a block we added in an append or
change command, or the line immediate following a set of lines we just