summaryrefslogtreecommitdiff
path: root/t/t2000-checkout-cache-clash.sh
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-11-19 18:52:28 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-24 14:51:43 -0800
commit1c7bb316169c700df0d1711555564f86c9cb9366 (patch)
treedc453679591ae3d92c620af52ecaa0d2b7188490 /t/t2000-checkout-cache-clash.sh
parentvcs-svn: Combine repo_replace and repo_modify functions (diff)
downloadtgif-1c7bb316169c700df0d1711555564f86c9cb9366.tar.xz
vcs-svn: Delay read of per-path properties
The mode for each file in an svn-format dump is kept in the properties section. The properties section is read as soon as possible to allow the correct mode to be filled in when registering the file with the repo_tree lib. To support nodes with a missing properties section, svn-fe determines the mode in three stages: - The kind (directory or file) of the node is read from the dump and used to make an initial estimate (040000 or 100644). - Properties are read in and allowed to override this for symlinks and executables. - If there is no properties section, the mode from the previous content of the path is left alone, overriding the above considerations. This is a bit of a mess, and worse, it would get even more complicated once we start to support property deltas. If we could only register the file with a provisional value for mode and then change it later when properties say so, the procedure would be much simpler. ... oh, right, we can. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2000-checkout-cache-clash.sh')
0 files changed, 0 insertions, 0 deletions