Checkout through link ignores rev parameter
From: Dalton, Bill (GE Energy Connections) <Bill.Dalton_at_ge.com>
Date: Mon, 23 Jan 2017 18:54:07 +0000
We have projects which share some of the files in the subversion folders but not all. So, those projects put their files into separate folders. One of the pairs of folders contains the actual files. The other folder of the pair has subversion links which point to the actual files in the other folder. This strategy seems to work with only one very important exception. When the folder with the links is checked out, the actual files always return the HEAD version, ignoring the "rev=" parameter.
Specifically, there are two folder in Subversion whose paths are "trunk/firmware/cpu_fw/dia" and "trunk/firmware/cpu_fw_vx7/dia". Most of the files in the cpu_fw_vx7/dia folder (that is, all of the shared files) are links which point to the corresponding file in the cpu_fw/dia folder. If the cpu_fw_vx7/dia folder is updated with a "svn update -r 17905 -non-interactive -force svnRepos/trunk/firmware/cpu_fw_vx7/dia" command, it will always fetch the HEAD revision, instead of the 17905 revision.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.