Browse Source

[prop140] Note another useful restriction of ed format.

Nick Mathewson 16 years ago
parent
commit
9f69b3d94c
1 changed files with 9 additions and 0 deletions
  1. 9 0
      doc/spec/proposals/140-consensus-diffs.txt

+ 9 - 0
doc/spec/proposals/140-consensus-diffs.txt

@@ -5,6 +5,11 @@ Created: 13-Jun-2008
 Status: Accepted
 Status: Accepted
 Target: 0.2.2.x
 Target: 0.2.2.x
 
 
+0. History
+
+  22-May-2009: Restricted the ed format even more strictly for ease of
+  implementation. -nickm
+
 1. Overview.
 1. Overview.
 
 
   Tor clients and servers need a list of which relays are on the
   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
   Note that line numbers always apply to the file after all previous
   commands have already been applied.
   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 "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
   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
   change command, or the line immediate following a set of lines we just