Commits

Albert Cheng committed 6efb39a88e9
[svn-r13168] Purpose: bug fix. Problem: 1. The last fix using "svn --version" did not work since the source code is shared between different machines which have different svn versions. Changed the code to inspect the .svn/entries content to guess what version of svn uses. From that to decide which GETSVNENTRIES to use. 2. GETSVNENTRIES_14 had two errors: 2.a., % as 1,$ is actually not recognized by ed. Changed that to "1,$s/..." but that got mixed up with $ being a shell meta-character. Changed to use g command instead. (Could have use \ to escape $ but g is cleaner.) 2.b., Some directories have no files but sub-directories. The ed script might end up with an empty file in some steps and ed does not like to run g command with an empty file. Fixed it by adding a dummy blank line. Platforms tested: Osage and copper.