]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
[prop140] Note another useful restriction of ed format.
authorNick Mathewson <nickm@torproject.org>
Fri, 22 May 2009 19:55:40 +0000 (15:55 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 22 May 2009 19:55:40 +0000 (15:55 -0400)
doc/spec/proposals/140-consensus-diffs.txt

index b4a8ab4f85642f35fca43853bbe4ec35ab1c3086..8bc4070bfe0834e26ad8d2e39d151d91ff6f373b 100644 (file)
@@ -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