User Tools

Site Tools


sourceforge:svn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
sourceforge:svn [2018/04/21 17:51]
karl [Svn Versions] Error configure script of SVN instead NEON
sourceforge:svn [2018/04/21 17:57]
karl [Svn Update] Typo and use code instead quote
Line 45: Line 45:
 https://​svn.apache.org/​repos/​asf/​subversion/​trunk/​tools/​client-side/​change-svn-wc-format.py \\ https://​svn.apache.org/​repos/​asf/​subversion/​trunk/​tools/​client-side/​change-svn-wc-format.py \\
 which tells us  which tells us 
->### The entries file parser in subversion/​tests/​cmdline/​svntest/​entry.py +<code python> 
->### handles the XML-based WC entries file format used by Subversion +### The entries file parser in subversion/​tests/​cmdline/​svntest/​entry.py 
->### 1.3 and lower. ​ It could be rolled into this script. +### handles the XML-based WC entries file format used by Subversion 
-+### 1.3 and lower. ​ It could be rolled into this script.
->>​LATEST_FORMATS = { "​1.4"​ : 8, +
->> ​                  "​1.5"​ : 9, +
->> ​                  "​1.6"​ : 10, +
->> ​                  # Do NOT add format 11 here.  See comment in must_retain_fields +
->> ​                  # for why. +
->> ​                } +
-># Maps format numbers to indices of fields within an entry'​s record that must +
-># be retained when downgrading to that format. +
->> ​ must_retain_fields = { +
->> ​     # Not in 1.4: changelist, keep-local, depth, tree-conflicts,​ file-externals +
->> ​     8  : (30, 31, 33, 34, 35), +
->> ​     # Not in 1.5: tree-conflicts,​ file-externals +
->> ​     9  : (34, 35), +
->> ​     10 : (), +
->> ​     # Downgrading from format 11 (1.7-dev) to format 10 is not possible, +
->> ​     # because 11 does not use has-props and cachable-props (but 10 does). +
->> ​     # Naively downgrading in that situation causes properties to disappear +
->> ​     # from the wc. +
->> ​     # +
->> ​     # Downgrading from the 1.7 SQLite-based format to format 10 is not +
->> ​     # implemented. +
->> ​     }+
  
-Thia is therefore noteworthy, since trying out some newer Linux Distro and running some "​innocent"​ svn command in the huge 4GB local crossfire code copy and then reverting to the older Linux OS again, can make your local svn repository unusable.+LATEST_FORMATS = { "​1.4"​ : 8, 
 +                   "​1.5"​ : 9, 
 +                   "​1.6"​ : 10, 
 +                   # Do NOT add format 11 here.  See comment in must_retain_fields 
 +                   # for why. 
 +                 } 
 + 
 +# Maps format numbers to indices of fields within an entry'​s record that must 
 +# be retained when downgrading to that format. 
 +  must_retain_fields = { 
 +      # Not in 1.4: changelist, keep-local, depth, tree-conflicts,​ file-externals 
 +      8  : (30, 31, 33, 34, 35), 
 +      # Not in 1.5: tree-conflicts,​ file-externals 
 +      9  : (34, 35), 
 +      10 : (), 
 +      # Downgrading from format 11 (1.7-dev) to format 10 is not possible, 
 +      # because 11 does not use has-props and cachable-props (but 10 does). 
 +      # Naively downgrading in that situation causes properties to disappear 
 +      # from the wc. 
 +      # 
 +      # Downgrading from the 1.7 SQLite-based format to format 10 is not 
 +      # implemented. 
 +      } 
 +</​code>​ 
 +This is therefore noteworthy, since trying out some newer Linux Distro and running some "​innocent"​ svn command in the huge 4GB local crossfire code copy and then reverting to the older Linux OS again, can make your local svn repository unusable.