Description
1.6->1.7 WC upgrade: A dir external from a different repos has the wrong repos_id (i.e. 1) and lacks a def_repos_relpath in the EXTERNALS row after upgrade. This seems to have no effect though -- update, commit, info all still use the correct repository URL, though the EXTERNALS row remains wrong. Apparently all code paths still parse the source URL from the actual svn:externals definition. Still, we have those columns, if only for some future use, and they should be populated correctly. [[[ # $WC is from $URL, $WC2 is from $URL2, two different repositories. # Both are 1.6 WCs. # <use svn 1.6.17> OLD_PATH="$PATH" export PATH="$HOME/svn-1.6.17-prefix/bin:$OLD_PATH" svn --version | grep version cd "$WC" mkdir A echo a > A/a svn add A svn ci -mm cd "$WC2" svn ps svn:externals "$URL/A XA" . svn ci -mm svn up # <use svn 1.7.x> export PATH="$OLD_PATH" svn --version | grep version svn upgrade # These show that the dir external technically points at $URL2/ # though subsequent commands magically use the correct $URL/A: sqlite3 .svn/wc.db "select local_relpath,repos_id,def_repos_relpath from externals;" sqlite3 .svn/wc.db "select * from repository;" svn info XA svn update echo mod >> XA/a svn ci -mm XA # <use svn 1.6.17> cd "$WC" svn update # brings in the modification committed on the external just above. ]]]
Original issue reported by neels